How to fix doctrine database conversion : table missing

I added two fields in an existing database table and a new table.

using the doctrine convert line :

 php bin/console doctrine:mapping:import --force AppBundle xml

all tables are converted in different xml files but the new table I added. I checked the xml file of the table where I added the two fields : they are here, indeed, in the xml file.

What is wrong ? Obviously we see the same database and my new table is there. Why is it not converted ?

Note : if i write :

php bin/console doctrine:mapping:import --force --filter="my_missing_table_name" AppBundle xml

I have this :

Database does not have any mapping information.

thank you

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *