mirror of
https://github.com/mastodon/mastodon
synced 2024-12-03 01:08:23 +09:00
Respect the 4.2.0 breakpoint in migration tests
This commit is contained in:
parent
670eb50826
commit
1c2c3af7ca
5
.github/workflows/test-migrations.yml
vendored
5
.github/workflows/test-migrations.yml
vendored
@ -91,6 +91,11 @@ jobs:
|
||||
bin/rails db:drop
|
||||
bin/rails db:create
|
||||
SKIP_POST_DEPLOYMENT_MIGRATIONS=true bin/rails tests:migrations:prepare_database
|
||||
|
||||
# Migrate up to v4.2.0 breakpoint
|
||||
bin/rails db:migrate VERSION=20230907150100
|
||||
|
||||
# Migrate the rest
|
||||
SKIP_POST_DEPLOYMENT_MIGRATIONS=true bin/rails db:migrate
|
||||
bin/rails db:migrate
|
||||
bin/rails tests:migrations:check_database
|
||||
|
Loading…
Reference in New Issue
Block a user