Just an update to this, Lee's advice fixed my first question.
My second question(fixture load error) was because in my schema.yml
file, I had defined email's type as a varchar instead of a string.
Whoops! Apparently that doesn't cause an error, *and* creates the proper
field. You just can't sav
That fixed it. I actually tried that before, but would get SQL errors
adding the foreign key. I realized Doctrine's integer default is BIGINT
on mysql, so I changed it to integer(4) and it worked.
The fixture still gets the same error though. There are two lines that
stand out to me in the base
At a guess, I'd say your foreign key reference doesn't work because
it's the primary key in your sf_guard_user_profile.
Create an id column, and then I think it will start working (you can
always make user_id unique if you want only 1 profile per user).
On 4 Mar 2009, at 23:56, Brian Racer w