fix(migrations): add schema_version inserts to migrations 022-027
Defense-in-depth: The migration framework already handles missing inserts via INSERT OR REPLACE (db.rs:174), but adding explicit inserts to .sql files ensures consistency and makes migrations self-documenting. Migrations affected: - 022_notes_query_index - 024_note_documents - 025_note_dirty_backfill - 026_scoring_indexes - 027_surgical_sync_runs
This commit is contained in:
@@ -151,3 +151,6 @@ END;
|
||||
|
||||
DROP TABLE IF EXISTS _doc_labels_backup;
|
||||
DROP TABLE IF EXISTS _doc_paths_backup;
|
||||
|
||||
INSERT INTO schema_version (version, applied_at, description)
|
||||
VALUES (24, strftime('%s', 'now') * 1000, '024_note_documents');
|
||||
|
||||
Reference in New Issue
Block a user