Webonaute / DoctrineFixturesGeneratorBundle

Generate Fixture from your existing data in your database. You can specify the Entity name and the IDs you want to import in your fixture.
63 stars 47 forks source link

Table 'sfk.wbnt_dfgb_test' doesn't exist #21

Closed vikramparihar closed 7 years ago

vikramparihar commented 8 years ago

Hi when i m loading fixture after generating then getting error in console " Base table or view not found: 1146 Table 'sfk.wbnt_dfgb_test' doesn't exist" How to pass table name is fixtures

Webonaute commented 8 years ago

please provide code example so I can reproduce the issue.

jmaheux commented 8 years ago

I had the same error. Turned out it was caused by having auto_mapping: true in entity manager config. I just changed it to manually set name of bundles as explained here.

Webonaute commented 7 years ago

thank @jmaheux.