Hi Paul, Can you try an `orm:schema-tool:update --dump-sql`?
You likely already have a table called `user_comment` somewhere, and doctrine wants to pick that name for a many-to-many association here... Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 6 February 2014 11:59, paul kendal <[email protected]> wrote: > > Hello Marco > > i have created the gist here: https://gist.github.com/anonymous/8842044 > > i accidentally created another ticket for the same matter; i was trying > to explain that the problem is in : > > /** > * @ORM\ManyToMany(targetEntity="Comment") > */ > private $commentsRead; > > > > > On Thursday, February 6, 2014 10:46:01 AM UTC, Marco Pivetta wrote: > >> Hi Andreea, >> >> Could you maybe create a gist (http://gist.github.com/) with the >> entities being involved? >> >> Did you create the entities or the tables? >> >> Marco Pivetta >> >> http://twitter.com/Ocramius >> >> http://ocramius.github.com/ >> >> >> On 6 February 2014 11:38, paul kendal <[email protected]> wrote: >> >>> Hello everyone. >>> >>> i am new to doctrine and following the tutorial at doctrine-project : >>> 9.1. Association Example >>> Entities<http://docs.doctrine-project.org/en/latest/reference/working-with-associations.html> >>> >>> however when i created the *user* and *comments* table and then did a >>> *vendor\bin\doctrine-module >>> orm:validate-schema* i keep getting the following message: >>> >>> *'testingassocation.user_comment' already exists* >>> >>> (testingassocation is my table). >>> >>> i have faithfully followed the turtorial and copied the table exactly as >>> they are on the page. so, i am unclear why its not working. >>> >>> Any help and assistance would be greatly appreciated. >>> >>> warm regards >>> >>> Andreea >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "doctrine-user" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> >>> Visit this group at http://groups.google.com/group/doctrine-user. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "doctrine-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/groups/opt_out.
