mirror of https://github.com/TryGhost/Ghost.git
Prefixed 3.0 migrations with `0` to preserve order
no issue - `knex-migrator` will run migrations in the order that nodejs provides when running `fs.readDirSync` which in most cases is strict alphabetical - 3.0 will shortly have more than 9 migrations which was resulting in the migration order being 1, 10, 2 - prefixing all single-digit migrations with `0` means that strict alphabetical ordering results in the expected order
This commit is contained in:
parent
06365b282f
commit
39db5bd177
Loading…
Reference in New Issue