mirror of
https://gitlab.com/jrmiller82/pathfinder-2-sqlite.git
synced 2026-10-12 22:29:44 -04:00
add movements data
This commit is contained in:
1 parent
aa4ae5473f
commit
453dd03232
3 files changed
+22
-1
No files matched your search
@@ -98,6 +98,16 @@ CREATE TABLE monsters_traits (
|
||||
FOREIGN KEY (traits_id) REFERENCES traits(trait_id)
|
||||
);
|
||||
|
||||
CREATE TABLE monster_movements (
|
||||
id INTEGER PRIMARY KEY,
|
||||
monsters_id INTEGER NOT NULL,
|
||||
movements_id INTEGER NOT NULL,
|
||||
movement_speed INTEGER NOT NULL, -- this is the actual monster speed
|
||||
UNIQUE (monsters_id, movements_id), -- prevent duplicates
|
||||
FOREIGN KEY (monsters_id) REFERENCES monsters(monsters_id),
|
||||
FOREIGN KEY (movements_id) REFERENCES movements(movements_id)
|
||||
);
|
||||
|
||||
-- TODO does this need to be separate table for monsters only or share the main
|
||||
-- actions table
|
||||
CREATE TABLE monsteractions (
|
||||
|
||||
Reference in new issue
Block a user