Closed Mojo90 closed 5 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Up
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Up
@Mojo90 The failure is on your side. Look through your sql dump. This should NEVER include the migrations table. This is ok as long as you don't restore your dump via db-migrate, but in this case you try to manipulate the migrations table from a migration itself. This will of course fail. Just remove this portion and it should work.
Ah ok I understand. Thanks for the hint!
I'm submitting a...
Current behavior
My database.json:
And the database is also just created so no input there. The migration.js:
Expected behavior
successful migration
Minimal reproduction of the problem with instructions
see above
What is the motivation / use case for changing the behavior?
Environment