mirror of
https://github.com/block/buzz.git
synced 2026-10-27 20:41:57 +00:00
fix(db): order the snapshot index after join roles
Signed-off-by: Daniel Rouleau <drouleau@squareup.com>
This commit is contained in:
@@ -709,7 +709,7 @@ mod postgres_tests {
|
||||
let mut migrations: Vec<_> = MIGRATOR.iter().collect();
|
||||
migrations.sort_by_key(|migration| migration.version);
|
||||
|
||||
assert_eq!(migrations.len(), 67);
|
||||
assert_eq!(migrations.len(), 68);
|
||||
assert_eq!(migrations[64].version, 65);
|
||||
let retire_ttl = strip_sql_comments(migrations[64].sql.as_str());
|
||||
for statement in [
|
||||
@@ -2752,9 +2752,9 @@ mod postgres_tests {
|
||||
.await
|
||||
.expect("connect migrated probe database");
|
||||
MIGRATOR
|
||||
.run_to(67, &migrated)
|
||||
.run_to(68, &migrated)
|
||||
.await
|
||||
.expect("apply migrations 1-67");
|
||||
.expect("apply migrations 1-68");
|
||||
|
||||
for table in [
|
||||
"relay_admin_actions",
|
||||
|
||||
Reference in New Issue
Block a user