This commit is contained in:
2026-10-03 20:39:03 +07:00
parent edb6d910f7
commit 1bbc32c3dc
134 changed files with 3782 additions and 0 deletions
@@ -0,0 +1,11 @@
-- +goose Up
CREATE TABLE IF NOT EXISTS screen_sessions (
id BIGSERIAL PRIMARY KEY,
access_token_hash TEXT NOT NULL UNIQUE,
game_id INTEGER REFERENCES games (id) ON DELETE SET NULL,
created_at TIMESTAMP NOT NULL DEFAULT NOW(),
updated_at TIMESTAMP NOT NULL DEFAULT NOW()
);
-- +goose Down
DROP TABLE IF EXISTS screen_sessions;