Change schema_migrations version from TEXT to INTEGER
All checks were successful
check / check (push) Successful in 1m42s

This commit is contained in:
clawbot
2026-03-19 23:07:03 -07:00
parent 2074571a87
commit 49398c1f0f
3 changed files with 41 additions and 35 deletions

View File

@@ -2,8 +2,8 @@
-- Applied as a bootstrap step before the normal migration loop.
CREATE TABLE IF NOT EXISTS schema_migrations (
version TEXT PRIMARY KEY,
version INTEGER PRIMARY KEY,
applied_at DATETIME DEFAULT CURRENT_TIMESTAMP
);
INSERT OR IGNORE INTO schema_migrations (version) VALUES ('000');
INSERT OR IGNORE INTO schema_migrations (version) VALUES (0);