mirror of
https://github.com/1f349/violet.git
synced 2024-11-13 23:11:36 +00:00
21 lines
503 B
SQL
21 lines
503 B
SQL
CREATE TABLE IF NOT EXISTS routes
|
|
(
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
source TEXT UNIQUE,
|
|
destination TEXT,
|
|
description TEXT,
|
|
flags INTEGER DEFAULT 0,
|
|
active INTEGER DEFAULT 1
|
|
);
|
|
|
|
CREATE TABLE IF NOT EXISTS redirects
|
|
(
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
source TEXT UNIQUE,
|
|
destination TEXT,
|
|
description TEXT,
|
|
flags INTEGER DEFAULT 0,
|
|
code INTEGER DEFAULT 0,
|
|
active INTEGER DEFAULT 1
|
|
);
|