Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a test to assert that migrations are ordered as we declared them (#…
…467) This tests is coming from this PR #466 We didn't fully understood how the migration library sorts migration before having to troubleshoot that PR. Even if we declare them in order as part of the GetMigrations function the library still applies quick sort on the migration ID to stay concurrency safe https://github.com/rubenv/sql-migrate/blob/011dc47c6043b25483490739b61cabbc5da7ee9a/migrate.goL216 In order to improve the visbility and to akwnoldge that the way we append migrations to GetMigrations is the same we get after the sorting we wrote this tests. I will start a conversation with the lib maintainer to figure out how we can improve our current workflow.
- Loading branch information