> Hey I did not really read through the entire thing, but if you want to > create a database, I would recommend let symfony do it for you. By that I > mean, create your db as you would otherwise, and then specify the connection > to symfony and simply follow the build commands (build-schema) > I suppose that will mimic the database for you and generate all that you > need.
Thanks Parijat but that's exactly what I did. I made a mistake in my original post, where I wrote (this was all generated by the doctrine:build-sql command, I flipped the order for clarity): I should have said: (this was all generated by the doctrine:build-schema command, I flipped the order for clarity): Something else I noticed is the litteral format used in the multi- field relations. SupplierRequest: local: 'supplier_id, subsector_id' foreign: 'supplier_id, subsector_id' type: many The multiple-column foreign keys are enclosed in single quotes. Is this normal? And why do these make Doctrine want to create an index on them anyway? Everything else but the two ALTER INDEX instructions have the proper syntax. -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.