16 lines
533 B
SQL
16 lines
533 B
SQL
-- 001_init.sql
|
|
--
|
|
-- Placeholder so the runner has something to do on first boot and
|
|
-- you can confirm the plumbing works end to end. The real tables
|
|
-- (regions, region_states, state_grid, chapters, events, feedback)
|
|
-- land in 002.
|
|
--
|
|
-- Once 002 exists you can leave this file alone. Never edit a
|
|
-- migration that has already run anywhere; write the next one.
|
|
|
|
CREATE TABLE IF NOT EXISTS meta (
|
|
key TEXT PRIMARY KEY,
|
|
value TEXT NOT NULL
|
|
);
|
|
|
|
INSERT OR IGNORE INTO meta (key, value) VALUES ('created_at', datetime('now'));
|