migrations
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
CREATE TABLE users (
|
||||
id text,
|
||||
username text
|
||||
name text,
|
||||
password text
|
||||
)
|
8
src/database/migrations/2-second-migration.sql
Normal file
8
src/database/migrations/2-second-migration.sql
Normal file
@ -0,0 +1,8 @@
|
||||
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
|
||||
)
|
7
src/database/migrations/3-third-migration.sql
Normal file
7
src/database/migrations/3-third-migration.sql
Normal file
@ -0,0 +1,7 @@
|
||||
CREATE TABLE game_instances (
|
||||
id text,
|
||||
game_id text,
|
||||
cart_data text,
|
||||
created_at time,
|
||||
is_official boolean
|
||||
)
|
Reference in New Issue
Block a user