Skip to content
Discussion options

You must be logged in to vote

This is pretty easy to test - just try it out:

With a folder structure like:

database/
|-- migrations/
|---- 00/
|------ 1618549676073_test_3_s
|------ 1618549678710_test_4_s
|---- 01/
|------ 1618549669282_test_1_s
|------ 1618549672676_test_2_s

it ran in the following order:

+ node ace migration:run
❯ migrated database/migrations/00/1618549676073_test_3_s
❯ migrated database/migrations/00/1618549678710_test_4_s
❯ migrated database/migrations/01/1618549669282_test_1_s
❯ migrated database/migrations/01/1618549672676_test_2_s

so yes, it will run all migrations in folder "A" before folder "B"

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by scal-lider
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants