Skip to content

Commit 86904d4

Browse files
committed
Update config.example.toml and SCHEMA.sql
1 parent f88a214 commit 86904d4

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Diff for: config.example.toml

+6-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,9 @@ port = 2700
1111
prefix = '/api'
1212

1313
[DATABASE]
14-
dsn = ''
14+
dsn = ''
15+
16+
[OAUTH]
17+
github_id = ""
18+
github_secret = ""
19+
redirect = ""

Diff for: core/database/SCHEMA.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CREATE EXTENSION IF NOT EXISTS pg_trgm;
44

55
CREATE TABLE IF NOT EXISTS users (
66
uid BIGINT PRIMARY KEY,
7-
github_id TEXT UNIQUE NOT NULL,
7+
github_id BIGINT UNIQUE NOT NULL,
88
admin BOOLEAN NOT NULL DEFAULT false,
99
bearer TEXT NOT NULL,
1010
created TIMESTAMP DEFAULT (now() at time zone 'utc')

0 commit comments

Comments
 (0)