You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrations table is saving the extension of the migration file as well.
This causes issues for me since I am using npx mikro-orm migration:up to run the migrations locally, but have to rely on JS compiled migrations on deployment and are running migrations inside the application code (main.ts) on application start up.
Can you add a fix please that would omit the extension (js or ts) or at least give the option so that this causing no issues.
Currently, it wants to run the migrations again as it does not recognise js migrations that already run.
The text was updated successfully, but these errors were encountered:
thanks for the quick reply. I am not aware that I actively assigned you, that seems to happen automatically when I submit a bug. Also, in no way do I want to be rude or see you as support. It is just that we are under a lot of pressure and the previous lead engineer decided to go with MikroORM as it seems to be very stable.
Thank you very much for your work, very much appreciated!
Migrations table is saving the extension of the migration file as well.
This causes issues for me since I am using npx mikro-orm migration:up to run the migrations locally, but have to rely on JS compiled migrations on deployment and are running migrations inside the application code (main.ts) on application start up.
Can you add a fix please that would omit the extension (js or ts) or at least give the option so that this causing no issues.
Currently, it wants to run the migrations again as it does not recognise js migrations that already run.
The text was updated successfully, but these errors were encountered: