This function is designed to create doctrine migration classes based on the difference between old and new schemes.
Okay, where is the old circuit with which the system differs? I am in a symfony project and in my configurations there is only one schema.yml.
The main problem of my problem was that there was a problem with my schema that caused the migration to fail (I had a column named "group") ... after making a name change to my schema ... ensuring the generation is migrated and the migration attempts will be always give errors, as previous attempts at migration are only partially completed.
So, I wanted to return everything to the "pristine" state, as if there had never been a migration, I want the current schema / database to be made as if it were version 0, and a new migration class.
However, manually reloading my db and deleting the migration classes do not work, and the created diff classes insist on dropping tables that no longer exist.
So, I guess there is a cached file somewhere with old schema data that it compares with?
Thanks for any help.
source
share