17 lines
259 B
SQL
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;
|
|
|