update: status page, api
This commit is contained in:
@@ -177,6 +177,8 @@ export async function migrate(sql: any) {
|
||||
)
|
||||
`;
|
||||
await sql`CREATE INDEX IF NOT EXISTS idx_status_page_monitors_monitor ON status_page_monitors(monitor_id)`;
|
||||
// Per-monitor display mode override. NULL = inherit status_pages.display_mode.
|
||||
await sql`ALTER TABLE status_page_monitors ADD COLUMN IF NOT EXISTS display_mode TEXT`;
|
||||
|
||||
await sql`
|
||||
CREATE TABLE IF NOT EXISTS incidents (
|
||||
|
||||
Reference in New Issue
Block a user