This commit is contained in:
2026-10-04 13:24:30 +07:00
parent 952d4c9c97
commit b66c88ff55
75 changed files with 92 additions and 76 deletions
@@ -0,0 +1,10 @@
-- +goose Up
CREATE TABLE IF NOT EXISTS game_screen_plans (
game_id INTEGER PRIMARY KEY REFERENCES games(id) ON DELETE CASCADE,
steps JSONB NOT NULL DEFAULT '[]'::jsonb,
current_step INTEGER NOT NULL DEFAULT 0,
updated_at TIMESTAMP NOT NULL DEFAULT NOW()
);
-- +goose Down
DROP TABLE IF EXISTS game_screen_plans;