This commit is contained in:
2026-04-10 03:05:01 +04:00
parent e376fd64fc
commit 94232f5851
9 changed files with 31 additions and 214 deletions
-2
View File
@@ -130,7 +130,6 @@ export async function migrate(sql: any) {
show_powered_by BOOLEAN NOT NULL DEFAULT true,
show_response_time BOOLEAN NOT NULL DEFAULT true,
show_cert_expiry BOOLEAN NOT NULL DEFAULT false,
display_mode TEXT NOT NULL DEFAULT 'expanded',
bar_frequency TEXT NOT NULL DEFAULT 'daily',
bar_count INTEGER NOT NULL DEFAULT 90,
custom_css TEXT,
@@ -162,7 +161,6 @@ export async function migrate(sql: any) {
monitor_id TEXT NOT NULL REFERENCES monitors(id) ON DELETE CASCADE,
group_id UUID REFERENCES status_page_groups(id) ON DELETE SET NULL,
display_name TEXT,
display_mode TEXT,
position INTEGER NOT NULL DEFAULT 0,
PRIMARY KEY (status_page_id, monitor_id)
)