generated from VLADIMIR/template
add map
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE game_map_items (
|
||||
game_id INTEGER NOT NULL REFERENCES games(id) ON DELETE CASCADE,
|
||||
kind TEXT NOT NULL,
|
||||
item_id INTEGER NOT NULL,
|
||||
x INTEGER NOT NULL DEFAULT 40,
|
||||
y INTEGER NOT NULL DEFAULT 40,
|
||||
hidden BOOLEAN NOT NULL DEFAULT FALSE,
|
||||
PRIMARY KEY (game_id, kind, item_id)
|
||||
);
|
||||
Reference in New Issue
Block a user