Skip to content

Commit 8965ed1

Browse files
committed
Prevent doctrine_migration_versions to be shown as non-sync error #11390
`./bin/doctrine orm:validate-schema` and `./bin/doctrine orm:schema-tool:update --dump-sql` both incorrectly showed the DB structure was out of sync because of the existence of the table `doctrine_migration_versions`. The table must exist, and it must never be deleted. We reproduce the behavior of Doctrine older versions to ignore that specific table for those two specific commands. This also happens to create a base for a future Felix-dedicated CLI with some commands defined within Felix and others within the application.
1 parent 9f980d9 commit 8965ed1

File tree

7 files changed

+442
-59
lines changed

7 files changed

+442
-59
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"mezzio/mezzio-session": "^1.16",
5858
"moneyphp/money": "^4.7",
5959
"monolog/monolog": "^3.9",
60+
"roave/psr-container-doctrine": "^5.2",
6061
"spomky-labs/otphp": "^11.3",
6162
"symfony/cache": "^7.2",
6263
"symfony/mailer": "^7.2"

0 commit comments

Comments
 (0)