mirror of
https://github.com/myronblair/novacpx
synced 2026-06-30 17:50:41 -05:00
Fix sessions table: add impersonator_id column
This commit is contained in:
@@ -66,6 +66,7 @@ CREATE TABLE IF NOT EXISTS sessions (
|
||||
user_agent TEXT,
|
||||
data TEXT,
|
||||
expires_at TEXT NOT NULL,
|
||||
impersonator_id INTEGER DEFAULT NULL,
|
||||
created_at TEXT DEFAULT (datetime('now')),
|
||||
FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user