mirror of
https://gitlab.com/jrmiller82/pathfinder-2-sqlite.git
synced 2026-11-10 21:29:44 -05:00
add monsters_traits table to monsters schema
This commit is contained in:
1 parent
132c691f60
commit
c71ad3b5bd
1 file changed
+8
@@ -82,6 +82,14 @@ CREATE TABLE monsters_skills (
|
|||||||
FOREIGN KEY (skills_id) REFERENCES skills(skills_id)
|
FOREIGN KEY (skills_id) REFERENCES skills(skills_id)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
CREATE TABLE monsters_traits (
|
||||||
|
id INTEGER PRIMARY KEY,
|
||||||
|
monsters_id INTEGER NOT NULL,
|
||||||
|
traits_id INTEGER NOT NULL,
|
||||||
|
FOREIGN KEY (monsters_id) REFERENCES monsters(monsters_id),
|
||||||
|
FOREIGN KEY (traits_id) REFERENCES traits(traits_id)
|
||||||
|
);
|
||||||
|
|
||||||
-- TODO does this need to be separate table for monsters only or share the main
|
-- TODO does this need to be separate table for monsters only or share the main
|
||||||
-- actions table
|
-- actions table
|
||||||
CREATE TABLE monsteractions (
|
CREATE TABLE monsteractions (
|
||||||
|
|||||||
Reference in new issue
Block a user