Refresh migration cutoff expectations

This commit is contained in:
RWDai
2026-05-19 10:25:06 +08:00
parent 02f09c2056
commit d19bf71343
2 changed files with 5 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ use tracing::info;
// Generated by build.rs from schema/bootstrap/postgres.
pub(crate) static EMPTY_DATABASE_SNAPSHOT_SQL: &str =
include_str!(concat!(env!("OUT_DIR"), "/empty_database_snapshot.sql"));
pub(crate) const EMPTY_DATABASE_SNAPSHOT_CUTOFF_VERSION: i64 = 20260516000000;
pub(crate) const EMPTY_DATABASE_SNAPSHOT_CUTOFF_VERSION: i64 = 20260518000000;
const PUBLIC_BASE_TABLE_COUNT_SQL: &str = r#"
SELECT COUNT(*)::BIGINT

View File

@@ -306,6 +306,7 @@ fn empty_database_snapshot_covers_current_cutoff_versions() {
20260512110000,
20260515000000,
20260516000000,
20260518000000,
]
);
}
@@ -589,6 +590,7 @@ fn mysql_and_sqlite_migrations_include_enabled_incrementals() {
20260512090000,
20260512110000,
20260516000000,
20260518000000,
]
);
assert_eq!(
@@ -606,6 +608,7 @@ fn mysql_and_sqlite_migrations_include_enabled_incrementals() {
20260512090000,
20260512110000,
20260516000000,
20260518000000,
]
);
}
@@ -1123,6 +1126,7 @@ fn pending_migrations_from_applied_skips_versions_already_applied() {
20260512110000,
20260515000000,
20260516000000,
20260518000000,
]
);
}