add movements and alignments

merge-requests/35/merge
James R Miller 2019-08-18 19:21:16 -05:00
parent 6320ab685c
commit 42f40be4c4
3 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,7 @@
-- -*- mode:sql sql-product:sqlite -*-
PRAGMA foreign_keys = ON;
BEGIN TRANSACTION;
INSERT INTO movements VALUES(1, 'Fly');
COMMIT;

View File

@ -0,0 +1,9 @@
-- -*- mode:sql sql-product:sqlite -*-
PRAGMA foreign_keys = ON;
CREATE TABLE alignments (
alignments_id INTEGER PRIMARY KEY,
"name" TEXT UNIQUE NOT NULL, -- 'Lawful Good'
abbr TEXT UNIQUE NOT NULL -- 'LG'
);

View File

@ -0,0 +1,12 @@
-- -*- mode:sql sql-product:sqlite -*-
PRAGMA foreign_keys = ON;
-- TODO needs data
CREATE TABLE movements (
movements_id INTEGER PRIMARY KEY,
"name" TEXT UNIQUE NOT NULL
);