chore(migrations): 合并 ephemeral cache 迁移到 20260423000000,移除冗余迁移文件并同步 baseline cutoff

This commit is contained in:
fawney19
2026-04-23 14:53:54 +08:00
parent fa328e18a1
commit 40282c3447
3 changed files with 5 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ use tracing::{error, info, warn};
static MIGRATOR: Migrator = sqlx::migrate!("./migrations");
static BASELINE_V2_SQL: &str = include_str!("../bootstrap/20260413020000_baseline_v2.sql");
const BASELINE_V2_CUTOFF_VERSION: i64 = 20260423010000;
const BASELINE_V2_CUTOFF_VERSION: i64 = 20260423000000;
const MIGRATIONS_TABLE_EXISTS_SQL: &str =
"SELECT to_regclass('public._sqlx_migrations') IS NOT NULL";
const PUBLIC_BASE_TABLE_COUNT_SQL: &str = r#"
@@ -663,7 +663,6 @@ SELECT EXISTS (
20260422110000,
20260422120000,
20260423000000,
20260423010000,
]
);
}
@@ -811,7 +810,6 @@ SELECT EXISTS (
20260422110000,
20260422120000,
20260423000000,
20260423010000,
]
);
}