"id" is auto-generated by doctrine.
Am 08.04.2010 22:08, schrieb cwis:
Hello All,
My name is Charles Wisniewski, we are exploring the route of adopting
symfony for a large project at work.
While going through the tutorial/documentation, I am confused by
Doctrine's yml format:
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/03
specifically, this:
JobeetCategoryAffiliate:
columns:
category_id: { type: integer, primary: true }
affiliate_id: { type: integer, primary: true }
relations:
JobeetCategory: { onDelete: CASCADE, local: category_id, foreign:
id }
JobeetAffiliate: { onDelete: CASCADE, local: affiliate_id,
foreign: id }
foreign: id is specified as being a foreign key to be updated, though
id is not declared in any of the other tables' definitions.
Am I missing somehting?
Any insight would be most helpful.
All the best,
Charles
--
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
To unsubscribe, reply using "remove me" as the subject.