mirror of
https://gitlab.com/jrmiller82/pathfinder-2-sqlite.git
synced 2026-10-12 22:29:44 -04:00
Boosts flaws
This commit is contained in:
1 parent
02e6bebecc
commit
9e122d0f1b
2 files changed
+66
-10
No files matched your search
+17
-2
@@ -18,13 +18,27 @@ CREATE TABLE ancestries (
|
||||
hp INTEGER NOT NULL,
|
||||
size_id INTEGER NOT NULL,
|
||||
speed INTEGER NOT NULL,
|
||||
boosts INTEGER NOT NULL,
|
||||
flaws INTEGER NOT NULL,
|
||||
vision_id INTEGER NOT NULL,
|
||||
FOREIGN KEY (vision_id) REFERENCES visions(vision_id),
|
||||
FOREIGN KEY (size_id) REFERENCES sizes(size_id)
|
||||
);
|
||||
|
||||
CREATE TABLE ancestries_boosts (
|
||||
anc_boosts_id INTEGER PRIMARY KEY,
|
||||
ancestry_id INTEGER NOT NULL,
|
||||
abilityscores_id INTEGER NOT NULL,
|
||||
FOREIGN KEY (ancestry_id) REFERENCES ancestries(ancestry_id),
|
||||
FOREIGN KEY (abilityscores_id) REFERENCES abilityscores(abilityscores_id)
|
||||
);
|
||||
|
||||
CREATE TABLE ancestries_flaws (
|
||||
anc_flaws_id INTEGER PRIMARY KEY,
|
||||
ancestry_id INTEGER NOT NULL,
|
||||
abilityscores_id INTEGER NOT NULL,
|
||||
FOREIGN KEY (ancestry_id) REFERENCES ancestries(ancestry_id),
|
||||
FOREIGN KEY (abilityscores_id) REFERENCES abilityscores(abilityscores_id)
|
||||
);
|
||||
|
||||
/* has partial data */
|
||||
CREATE TABLE visions (
|
||||
vision_id INTEGER PRIMARY KEY,
|
||||
@@ -67,6 +81,7 @@ CREATE TABLE traittypes (
|
||||
name TEXT NOT NULL
|
||||
);
|
||||
|
||||
/* TODO THIS TABLE IS LIKELY NOT NEEDED. THANKS WES! */
|
||||
|
||||
CREATE TABLE heritages_traits (
|
||||
id INTEGER PRIMARY KEY,
|
||||
|
||||
Reference in new issue
Block a user