This commit is contained in:
Mateusz Gruszczyński committed 2026-10-16 13:02:53 +02:00
1 parent 162e986d37
commit 6b937aaf85
54 files changed
+3527 -1325

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
-- Named, administrator-scoped Overview presets. Keep this separate from the
-- existing 4096-byte appearance preferences document and proxy configuration.
CREATE TABLE IF NOT EXISTS dashboard_presets (
administrator_id INTEGER NOT NULL CHECK (administrator_id = 1),
name TEXT NOT NULL CHECK (length(name) BETWEEN 1 AND 64),
document TEXT NOT NULL CHECK (length(document) BETWEEN 2 AND 8192),
updated_at INTEGER NOT NULL,
PRIMARY KEY (administrator_id, name),
FOREIGN KEY (administrator_id) REFERENCES administrator(id) ON DELETE CASCADE
);