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