Get and store steam username and display it on the homepage

This commit is contained in:
Lol3rrr
2024-09-10 17:48:06 +02:00
parent d3658be232
commit 9a033b7190
15 changed files with 528 additions and 103 deletions

View File

@@ -1,6 +1,6 @@
-- Your SQL goes here
CREATE TABLE IF NOT EXISTS sessions (
id bigint[2] PRIMARY KEY,
data jsonb,
steamid TEXT,
expiry_date TEXT
)

View File

@@ -0,0 +1,2 @@
-- This file should undo anything in `up.sql`
DROP TABLE users

View File

@@ -0,0 +1,5 @@
-- Your SQL goes here
CREATE TABLE IF NOT EXISTS users (
steamid TEXT PRIMARY KEY,
name TEXT
)