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.

i did note however that if i took out the below section from the User ;  

 


*  **    * @ORM\ManyToMany(targetEntity="Comment")    */    private 
$commentsRead;*


that it now maps correctly. So its this particular section that is causing 
the problem. but i dont know how to correct the error.



Any help and assistance would be greatly appreciated.

warm regards

Paul 

-- 
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.

Reply via email to