Add site_id

This commit is contained in:
Bill Yang 2025-02-16 20:04:55 -08:00
parent abdcbd78e9
commit c42bd9909d
7 changed files with 15 additions and 47 deletions

View file

@ -43,6 +43,7 @@ export async function initializePostgres() {
sql<Session[]>`
CREATE TABLE IF NOT EXISTS active_sessions (
session_id TEXT PRIMARY KEY,
site_id INT,
user_id TEXT,
hostname TEXT,
start_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,