Align schema version with migration count

This commit is contained in:
thePR0M3TH3AN
2025-05-22 10:28:03 -04:00
parent 4bd4cb6738
commit 37764a643c
2 changed files with 2 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ use tracing::{debug, info, warn};
/* ─── schema version ───────────────────────────────────────────────── */
/// Current library schema version.
pub const SCHEMA_VERSION: i32 = 1_1;
pub const SCHEMA_VERSION: i32 = MIGRATIONS.len() as i32;
/* ─── embedded migrations ─────────────────────────────────────────── */