This commit is contained in:
2026-09-10 03:51:22 +07:00
parent 3b85484701
commit d0c8700a7a
10 changed files with 1351 additions and 378 deletions
@@ -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)
);