I build my beautiful database and now I want to generate entities in symfony 4 using doctrine. I tried php bin/console doctrine:mapping:import 'App\Entity' annotation --path=src/Entity
, but I'm getting error: Property "idproduction" in "Person" was already declared, but it must be declared only once
and nothing is generated.
Here is my DB schema, I'm using foreign keys for primary key in connection tables and I've read somewhere that it can be an issue, but I dont want to change my design.
Please send help :c
Comments
Post a Comment