Closed wiistriker closed 2 years ago
any news on this?
any news on this?
No reviews… I should have some time to merge and release this this afternoon.
Is there any options to have this changes in 3.0 version?
Is there any options to have this changes in 3.0 version?
Nope, sorry.
Db user in my app doesn't have CREATE, ALTER query permissions so i cant run my migrations from php. Instead of this i write all necessary sql queries to file and run it from another user. After upgrading doctrine migrations to newer version i faced with issue, that resulted sql file doesnt contain insert/delete queries for meta table (doctrine_migration_versions). Very frustrating to insert this information myself so i ended up with this solution.
Such issue already been described in https://github.com/doctrine/migrations/issues/1082
Summary
I am not sure about TableMetadataStorage::complete method. I see you using Connection::insert, Connection::delete methods. It seems like we need to replace it with Connection::execute and use already generated queries