2024-09-09 21:23:37 +02:00
|
|
|
CREATE TABLE IF NOT EXISTS content (
|
|
|
|
vanity TEXT PRIMARY KEY,
|
|
|
|
type TEXT NOT NULL,
|
|
|
|
data TEXT NOT NULL,
|
|
|
|
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
2024-09-09 22:08:21 +02:00
|
|
|
);
|
|
|
|
|
|
|
|
CREATE TABLE IF NOT EXISTS users (
|
|
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
|
|
username TEXT UNIQUE NOT NULL,
|
|
|
|
password_hash TEXT NOT NULL
|
2024-09-09 21:23:37 +02:00
|
|
|
);
|