mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-09 04:30:20 +08:00
refactor(data): drop sqlite no-op migration
This commit is contained in:
-2
@@ -1,2 +0,0 @@
|
||||
-- SQLite proxy_password is already TEXT; keep migration ordering aligned across drivers.
|
||||
SELECT 1;
|
||||
@@ -8,8 +8,7 @@ use tracing::info;
|
||||
pub(crate) static EMPTY_DATABASE_SNAPSHOT_SQL: &str =
|
||||
include_str!(concat!(env!("OUT_DIR"), "/empty_database_snapshot.sql"));
|
||||
// Keep post-snapshot migrations executable on a fresh database so required
|
||||
// schema changes still run. Compatibility migrations after this frontier are
|
||||
// explicit no-ops and must not rewrite legacy rows.
|
||||
// schema changes after this frontier still run.
|
||||
pub(crate) const EMPTY_DATABASE_SNAPSHOT_CUTOFF_VERSION: i64 = 20260821130000;
|
||||
|
||||
const PUBLIC_BASE_TABLE_COUNT_SQL: &str = r#"
|
||||
|
||||
@@ -1271,7 +1271,6 @@ fn mysql_and_sqlite_migrations_include_enabled_incrementals() {
|
||||
20260821000000,
|
||||
20260821120000,
|
||||
20260821130000,
|
||||
20260827040000,
|
||||
20260827050000,
|
||||
20260831000000,
|
||||
20260831010000,
|
||||
|
||||
Reference in New Issue
Block a user