migrations
This commit is contained in:
1 parent
c55a9e8b98
commit
334c09df7c
5 files changed
+19
-3
No files matched your search
@@ -1,4 +1,5 @@
|
||||
CREATE TABLE users (
|
||||
id text,
|
||||
username text
|
||||
name text,
|
||||
password text
|
||||
)
|
||||
@@ -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
|
||||
)
|
||||
@@ -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