Migrating from a Doctrine database to Mikro-ORM generates duplicated queries #3797
DavidGarciaCat
started this conversation in
General
Replies: 1 comment
-
Those queries are not the same, see the different casing: Either way, doctrine has different default naming strategies for index names, once you run the first migration, there shouldn't be any more random queries. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a functional Doctrine database, with several entities, mappings and indexes.
When I try to migrate the PHP app to a new TS app, the migration commands generate duplicated queries.
Shall we assume the issue is caused because the checks and query generation are based on an async process, thus some queries are being generated twice?
Is there any known way to fix this issue?
Beta Was this translation helpful? Give feedback.
All reactions