This commit is contained in:
thePR0M3TH3AN
2025-05-18 21:28:05 -04:00
parent 6ddb40ca18
commit a7660df45f
16 changed files with 523 additions and 69 deletions

View File

@@ -48,7 +48,7 @@ pub fn open<P: AsRef<Path>>(db_path: P) -> Result<Connection> {
/* ─── migration runner ────────────────────────────────────────────── */
fn apply_migrations(conn: &mut Connection) -> Result<()> {
pub(crate) fn apply_migrations(conn: &mut Connection) -> Result<()> {
// Ensure schema_version bookkeeping table exists
conn.execute_batch(
"CREATE TABLE IF NOT EXISTS schema_version (