Fix production migration privilege compatibility
CI / verify (push) Has been cancelled
CI / publish (push) Has been cancelled

Rescope OOBE claims with permitted ALTER operations and make deployment smoke validation require every migration through V28.
This commit is contained in:
Rocky
2026-08-22 16:44:24 +08:00
parent 9fb947aa7d
commit 10ba4f0a0c
3 changed files with 13 additions and 25 deletions
+2 -2
View File
@@ -477,9 +477,9 @@ WHERE version IS NOT NULL
ORDER BY installed_rank;
SQL
)"
EXPECTED_MIGRATIONS="$(seq 1 27 | awk '{ print $1 ":1" }')"
EXPECTED_MIGRATIONS="$(seq 1 28 | awk '{ print $1 ":1" }')"
[[ "$MIGRATIONS" == "$EXPECTED_MIGRATIONS" ]] ||
fail "Flyway history was not exactly successful V1-V27"
fail "Flyway history was not exactly successful V1-V28"
REFERRAL_REWARDS="$(
mysql_root --batch --skip-column-names osg_account_smoke <<'SQL'
SELECT CONCAT(inviter_reward_credits, ':', invitee_reward_credits)