Added site index file and created_at

This commit is contained in:
2026-04-06 18:01:37 +02:00
parent 3f1deae70e
commit 38fcdbf391
9 changed files with 59 additions and 14 deletions
+4 -1
View File
@@ -18,7 +18,10 @@ CREATE TABLE IF NOT EXISTS sites (
deploy_token TEXT NOT NULL,
enabled INTEGER NOT NULL DEFAULT 1,
spa INTEGER NOT NULL DEFAULT 0,
not_found_file TEXT NOT NULL DEFAULT '404.html'
not_found_file TEXT NOT NULL DEFAULT '404.html',
index_file TEXT NOT NULL DEFAULT 'index.html',
trailing_slash INTEGER DEFAULT NULL,
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE IF NOT EXISTS forward_rules (