1
0
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:
Claire 2024-11-28 16:34:56 +01:00
parent 670eb50826
commit 1c2c3af7ca

View File

@ -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