Get and store steam username and display it on the homepage
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
2
migrations/2024-09-10-123500_users/down.sql
Normal file
2
migrations/2024-09-10-123500_users/down.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE users
|
||||
5
migrations/2024-09-10-123500_users/up.sql
Normal file
5
migrations/2024-09-10-123500_users/up.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
-- Your SQL goes here
|
||||
CREATE TABLE IF NOT EXISTS users (
|
||||
steamid TEXT PRIMARY KEY,
|
||||
name TEXT
|
||||
)
|
||||
Reference in New Issue
Block a user