fix: improve detect error case

This commit is contained in:
2026-08-30 11:15:50 +07:00
parent 12e869cb29
commit 8fca8574da
23 changed files with 2352 additions and 419 deletions
+8
View File
@@ -0,0 +1,8 @@
ALTER TABLE `checks` ADD `degraded` integer DEFAULT false NOT NULL;--> statement-breakpoint
ALTER TABLE `monitors` ADD `expect_keyword` text;--> statement-breakpoint
ALTER TABLE `monitors` ADD `keyword_inverted` integer DEFAULT false NOT NULL;--> statement-breakpoint
ALTER TABLE `monitors` ADD `request_headers` text;--> statement-breakpoint
ALTER TABLE `monitors` ADD `request_body` text;--> statement-breakpoint
ALTER TABLE `monitors` ADD `degraded_latency_ms` integer;--> statement-breakpoint
ALTER TABLE `monitors` ADD `consecutive_slow` integer DEFAULT 0 NOT NULL;--> statement-breakpoint
ALTER TABLE `monitors` ADD `last_degraded` integer DEFAULT false NOT NULL;