Update some database types and fix other config related issues
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
-- Your SQL goes here
|
||||
CREATE TABLE IF NOT EXISTS sessions (
|
||||
id bigint[2] PRIMARY KEY,
|
||||
id TEXT NOT NULL PRIMARY KEY,
|
||||
steamid TEXT,
|
||||
expiry_date TEXT
|
||||
expiry_date TEXT NOT NULL
|
||||
)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
-- Your SQL goes here
|
||||
CREATE TABLE IF NOT EXISTS demos (
|
||||
steam_id bigint,
|
||||
demo_id bigint,
|
||||
steam_id TEXT NOT NULL,
|
||||
demo_id bigint NOT NULL,
|
||||
PRIMARY KEY(steam_id, demo_id)
|
||||
)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- Your SQL goes here
|
||||
CREATE TABLE IF NOT EXISTS users (
|
||||
steamid TEXT PRIMARY KEY,
|
||||
name TEXT
|
||||
name TEXT NOT NULL
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user