bgg-ottawa-sell-club/db/migrations/20240130203603_game-table.sql

17 lines
259 B
MySQL
Raw Normal View History

2024-01-30 20:54:24 +00:00
-- 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;