mirror of
https://github.com/Noratrieb/oh-oh.git
synced 2026-01-16 09:55:06 +01:00
7 lines
216 B
SQL
7 lines
216 B
SQL
CREATE TABLE IF NOT EXISTS sessions (
|
|
session_id TEXT NOT NULL PRIMARY KEY,
|
|
user_id INTEGER NOT NULL,
|
|
created INTEGER NOT NULL,
|
|
|
|
FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE
|
|
) STRICT;
|