In addition you can read 'practical symfony' day 3 tutorial for a real world example and a brief explanation of how to use many to many relations:
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/03
And for available schema.yml attributes, read symfony schema.yml configuration reference:
http://www.symfonyreference.com/schema
good luck!
Friday, December 31, 2010, 1:01:34 PM, you wrote:
Tax: actAs: Timestampable: ~ columns: # your columns relations: Properties: class: Property local: tax_id foreign: property_id refClass: PropertyTax foreignAlias: Taxes Property: actAs: Timestampable: ~ columns: # your columns PropertyTax: actAs: Timestampable: ~ columns: property_id: type: integer primary: true tax_id: type: integer primary: true relations: Tax: local: tax_id onDelete: CASCADE Property: local: property_id onDelete: CASCADE -- 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 |
--
Best regards,
Ramunas mailto:wool...@gmail.com
--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