All Glenn
All Glenn

Reputation: 41

Create Single Entity on Doctrine 2 + Symfony 2

i'm trying to generate a single entity from my database using symfony2 but i need a way to target one table to generate the YML file :

i have tried this

php app/console doctrine:mapping:import --force AcmeBlogBundle yml

but it does not i got all yml from all table in my doctrine folder

Upvotes: 0

Views: 135

Answers (1)

Nicks
Nicks

Reputation: 774

php app/console doctrine:mapping:import --force AcmeBlogBundle:YOURENTITYNAME yml

Upvotes: 0

Related Questions