test(db): audit the schema bootstrap fixture

Signed-off-by: Nikolaj Goodger <ngoodger@squareup.com>
This commit is contained in:
Nikolaj Goodger
2026-10-22 20:52:21 +11:00
parent e84790488e
commit 5e35016c56

View File

@@ -12,10 +12,13 @@ async fn migration_schema_bootstrap_keeps_only_explicit_legacy_fences() {
.execute(&pool)
.await
.unwrap();
sqlx::raw_sql(&crate::test_support::desired_state_schema_sql())
.execute(&pool)
.await
.unwrap();
// Only checked-in schema files contribute SQL to this test bootstrap.
sqlx::raw_sql(sqlx::AssertSqlSafe(
crate::test_support::desired_state_schema_sql(),
))
.execute(&pool)
.await
.unwrap();
for (table, expected) in [
("new_tenant_probe", false),