bgg-ottawa-sell-club/db/migrations/20240130203603_game-table.sql
2024-01-30 15:54:24 -05:00

17 lines
259 B
SQL

-- migrate:up
CREATE TABLE IF NOT EXISTS game (
id integer primary key,
username text,
thumbnail text,
bgg_id text,
name text,
notes text,
FOREIGN KEY(username) REFERENCES bgg_user(username)
);
-- migrate:down
drop table game;