mirror of
https://github.com/rybbit-io/rybbit.git
synced 2025-05-12 12:55:36 +02:00
Add site_id
This commit is contained in:
parent
abdcbd78e9
commit
c42bd9909d
7 changed files with 15 additions and 47 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue