Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion crates/buzz-db/src/runtime/migration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2821,7 +2821,13 @@ mod postgres_tests {
"all NIP-FI tables must be absent after migration 0044: {present:?}"
);

// The deletion catalog must validate with ledger relations gone.
// The catalog describes the fully-migrated schema, so bring the DB up to
// head before validating: ledger relations stay gone, and tables added
// after 0044 are present.
MIGRATOR
.run(&pool)
.await
.expect("remaining migrations apply after ledger removal");
crate::deletion::DeletionStore::new(pool.clone())
.validate_catalog()
.await
Expand Down
Loading