Added deployments overview

This commit is contained in:
2026-04-06 22:04:50 +02:00
parent a95c76ce7e
commit 1978a31cbf
21 changed files with 1249 additions and 169 deletions
+11
View File
@@ -49,6 +49,17 @@ CREATE TABLE IF NOT EXISTS headers (
value TEXT NOT NULL,
FOREIGN KEY (custom_header_id) REFERENCES custom_headers(id) ON DELETE CASCADE
);
CREATE TABLE IF NOT EXISTS deployments (
id TEXT PRIMARY KEY,
site_id TEXT NOT NULL,
commit_hash TEXT,
message TEXT,
status TEXT NOT NULL,
start_time TIMESTAMP NOT NULL DEFAULT 0,
finish_time TIMESTAMP NOT NULL DEFAULT 0,
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
)
`)
if err == nil {