Could paste the fixture?
On 08/17/2010 12:50 PM, RusAlex wrote:
No im sorry i have mistake in pasting. I have a correct relations
RankDomain:
columns:
name: { type: string(255), notnull: true, unique: true }
user_id: { type: integer, notnull:true }
relations:
sfGuardUser: { local: user_id, foreign: id }
but error still exist
On Aug 17, 11:44 am, Joep Brunsveld<jbbrunsv...@gmail.com> wrote:
It seems that you forgot the "relations" indentation.
It must be:
RankDomain:
columns:
name: { type: string(255), notnull: true, unique: true }
user_id: { type: integer, notnull:true }
relations:
sfGuardUser: { local: user_id, foreign: id }
On Aug 17, 7:33 am, RusAlex<interpret...@gmail.com> wrote:
schema.yml
RankDomain:
columns:
name: { type: string(255), notnull: true, unique: true }
user_id: { type: integer, notnull:true }
sfGuardUser: { local: user_id, foreign: id }
$php symfony doctrine:build --all --and-load
and see red Error:
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or
update a child row: a foreign key constraint fails
(`ranks`.`rank_domain`, CONSTRAINT
`rank_domain_user_id_sf_guard_user_id` FOREIGN KEY (`user_id`)
REFERENCES `sf_guard_user` (`id`))
What im doing wrong ?
--
Javi
Ubuntu 8.04
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en