Files
pixa/internal/database/schema/000.sql
clawbot 49398c1f0f
All checks were successful
check / check (push) Successful in 1m42s
Change schema_migrations version from TEXT to INTEGER
2026-03-19 23:07:06 -07:00

10 lines
313 B
SQL

-- Migration 000: Schema migrations tracking table
-- Applied as a bootstrap step before the normal migration loop.
CREATE TABLE IF NOT EXISTS schema_migrations (
version INTEGER PRIMARY KEY,
applied_at DATETIME DEFAULT CURRENT_TIMESTAMP
);
INSERT OR IGNORE INTO schema_migrations (version) VALUES (0);