picobook/src/database/migrations/2-second-migration.sql

8 lines
241 B
MySQL
Raw Normal View History

2023-10-31 20:31:17 -07:00
CREATE TABLE games (
id text,
name text, -- user defined
repo_fullname text, -- e.g. "username/reponame"
repo_hosttype text, -- "github", "gitea", "gitlab", ...
repo_token text, -- an api auth token to read from the repo
user_id text
)