fix sql syntax errors
parent
0ba3cc4c73
commit
0c36495486
|
@ -15,7 +15,7 @@ VALUES
|
||||||
(3, 'Gnome', 'TODO', 8, 2, 25, 100, 1, 2),
|
(3, 'Gnome', 'TODO', 8, 2, 25, 100, 1, 2),
|
||||||
(4, 'Goblin', 'TODO', 6, 2, 25, 98, 16, 1),
|
(4, 'Goblin', 'TODO', 6, 2, 25, 98, 16, 1),
|
||||||
(5, 'Halfling', 'TODO', 6, 2, 25, 82, 1, 3),
|
(5, 'Halfling', 'TODO', 6, 2, 25, 82, 1, 3),
|
||||||
(6, 'Human', 'TODO', 8, 3, 25, 128, 0, 4),
|
(6, 'Human', 'TODO', 8, 3, 25, 128, 0, 4);
|
||||||
|
|
||||||
/* TODO flesh out the ancestry-trait pairs */
|
/* TODO flesh out the ancestry-trait pairs */
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ VALUES
|
||||||
(3, 'Forge Dwarf', 'TODO'),
|
(3, 'Forge Dwarf', 'TODO'),
|
||||||
(4, 'Rock Dwarf', 'TODO'),
|
(4, 'Rock Dwarf', 'TODO'),
|
||||||
(5, 'Strong-Blooded Dwarf', 'TODO'),
|
(5, 'Strong-Blooded Dwarf', 'TODO'),
|
||||||
(6, 'Half-Elf', 'Either one of your parents was an elf, or one or both were half-elves. You have pointed ears and other telltale signs of elf heritage. You gain the elf trait and low-light vision. In addition, you can select elf, half-elf, and human feats whenever you gain an ancestry feat.'),
|
(6, 'Half-Elf', 'Either one of your parents was an elf, or one or both were half-elves. You have pointed ears and other telltale signs of elf heritage. You gain the elf trait and low-light vision. In addition, you can select elf, half-elf, and human feats whenever you gain an ancestry feat.');
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO ancestries_heritages (ancestry_id, heritage_id)
|
INSERT INTO ancestries_heritages (ancestry_id, heritage_id)
|
||||||
|
|
|
@ -15,6 +15,5 @@ VALUES
|
||||||
(6, 'Human', 'TODO'),
|
(6, 'Human', 'TODO'),
|
||||||
(7, 'Half-Elf', 'TODO'),
|
(7, 'Half-Elf', 'TODO'),
|
||||||
(8, 'Half-Orc', 'TODO'),
|
(8, 'Half-Orc', 'TODO'),
|
||||||
(9, 'Humanoid', 'TODO')
|
(9, 'Humanoid', 'TODO');
|
||||||
);
|
|
||||||
|
|
||||||
|
|
|
@ -93,8 +93,7 @@ CREATE TABLE ancestries_langs (
|
||||||
ancestry_id INTEGER NOT NULL,
|
ancestry_id INTEGER NOT NULL,
|
||||||
lang_id INTEGER NOT NULL,
|
lang_id INTEGER NOT NULL,
|
||||||
FOREIGN KEY (ancestry_id) REFERENCES ancestries(ancestry_id),
|
FOREIGN KEY (ancestry_id) REFERENCES ancestries(ancestry_id),
|
||||||
FOREIGN KEY (lang_id) REFERENCES langs(lang_id),
|
FOREIGN KEY (lang_id) REFERENCES langs(lang_id));
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
CREATE TABLE ancestry_additionalangs (
|
CREATE TABLE ancestry_additionalangs (
|
||||||
|
@ -102,7 +101,7 @@ CREATE TABLE ancestry_additionalangs (
|
||||||
ancestry_id INTEGER NOT NULL,
|
ancestry_id INTEGER NOT NULL,
|
||||||
lang_id INTEGER NOT NULL,
|
lang_id INTEGER NOT NULL,
|
||||||
FOREIGN KEY (ancestry_id) REFERENCES ancestries(ancestry_id),
|
FOREIGN KEY (ancestry_id) REFERENCES ancestries(ancestry_id),
|
||||||
FOREIGN KEY (lang_id) REFERENCES langs(lang_id),
|
FOREIGN KEY (lang_id) REFERENCES langs(lang_id)
|
||||||
);
|
);
|
||||||
|
|
||||||
/* Need to rethink how to model the various prerequisites */
|
/* Need to rethink how to model the various prerequisites */
|
||||||
|
@ -115,7 +114,7 @@ CREATE TABLE feats (
|
||||||
prereq_proficiency_ranks INTEGER,
|
prereq_proficiency_ranks INTEGER,
|
||||||
frequency TEXT,
|
frequency TEXT,
|
||||||
triggers TEXT,
|
triggers TEXT,
|
||||||
reqs TEXT,
|
reqs TEXT
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE feats_traits (
|
CREATE TABLE feats_traits (
|
||||||
|
|
Loading…
Reference in New Issue