2022-02-03 21:55:10 +00:00
|
|
|
-- Add migration script here
|
2022-02-04 19:36:54 +00:00
|
|
|
CREATE TABLE application (
|
|
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
|
|
|
|
app_name TEXT NOT NULL,
|
|
|
|
url TEXT NOT NULL,
|
|
|
|
description TEXT,
|
2022-02-12 08:03:27 +00:00
|
|
|
active Boolean DEFAULT 1 NOT NULL,
|
2022-02-04 19:36:54 +00:00
|
|
|
glyph TEXT,
|
2022-02-12 06:23:07 +00:00
|
|
|
application_category_id INTEGER,
|
2022-02-12 08:03:27 +00:00
|
|
|
enable_healthcheck Boolean DEFAULT 0 NOT NULL
|
2022-02-04 19:36:54 +00:00
|
|
|
);
|
|
|
|
CREATE TABLE application_category (
|
|
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
|
|
|
|
category_name TEXT NOT NULL,
|
2022-02-04 20:28:53 +00:00
|
|
|
glyph TEXT,
|
2022-02-04 19:36:54 +00:00
|
|
|
active BOOLEAN NOT NULL DEFAULT 1
|
|
|
|
);
|
|
|
|
CREATE TABLE bookmark (
|
|
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
|
2022-02-04 20:28:53 +00:00
|
|
|
bookmark_name TEXT NOT NULL,
|
|
|
|
url TEXT NOT NULL,
|
2022-02-04 19:36:54 +00:00
|
|
|
active BOOLEAN NOT NULL DEFAULT 1,
|
2022-02-08 04:04:45 +00:00
|
|
|
bookmark_category_id INTEGER
|
2022-02-04 19:36:54 +00:00
|
|
|
);
|
|
|
|
CREATE TABLE bookmark_category (
|
|
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
|
|
|
|
category_name TEXT NOT NULL,
|
|
|
|
active BOOLEAN NOT NULL DEFAULT 1,
|
|
|
|
glyph TEXT
|
|
|
|
);
|
2022-02-08 04:04:45 +00:00
|
|
|
CREATE TABLE setting (
|
|
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
|
2022-02-05 06:11:24 +00:00
|
|
|
setting_name TEXT NOT NULL,
|
|
|
|
setting_value TEXT NOT NULL
|
|
|
|
);
|