v1.3 - added an sqlite db and built data structure
This commit is contained in:
parent
b0fba52c0e
commit
5efdafbb97
37 changed files with 6414 additions and 1988 deletions
16
server/src/migrations/001_init.sql
Normal file
16
server/src/migrations/001_init.sql
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
-- 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'));
|
||||
Loading…
Add table
Add a link
Reference in a new issue