mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-09 04:30:20 +08:00
fix(ci): align database snapshot migration cutoff
This commit is contained in:
@@ -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 = 20260731000000;
|
||||
pub(crate) const EMPTY_DATABASE_SNAPSHOT_CUTOFF_VERSION: i64 = 20260821000000;
|
||||
|
||||
const PUBLIC_BASE_TABLE_COUNT_SQL: &str = r#"
|
||||
SELECT COUNT(*)::BIGINT
|
||||
|
||||
@@ -411,6 +411,7 @@ fn empty_database_snapshot_covers_current_cutoff_versions() {
|
||||
20260720000000,
|
||||
20260727000000,
|
||||
20260731000000,
|
||||
20260821000000,
|
||||
]
|
||||
);
|
||||
}
|
||||
@@ -1064,6 +1065,7 @@ fn mysql_and_sqlite_migrations_include_enabled_incrementals() {
|
||||
20260725030000,
|
||||
20260727000000,
|
||||
20260731000000,
|
||||
20260821000000,
|
||||
]
|
||||
);
|
||||
assert_eq!(
|
||||
@@ -1098,6 +1100,7 @@ fn mysql_and_sqlite_migrations_include_enabled_incrementals() {
|
||||
20260725040000,
|
||||
20260727000000,
|
||||
20260731000000,
|
||||
20260821000000,
|
||||
]
|
||||
);
|
||||
}
|
||||
@@ -2204,6 +2207,7 @@ fn pending_migrations_from_applied_skips_versions_already_applied() {
|
||||
20260720000000,
|
||||
20260727000000,
|
||||
20260731000000,
|
||||
20260821000000,
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user