Files
Homelab-manager/server/drizzle/0090_watery_mathemanic.sql
T
bobbanandClaude Sonnet 5.5 9126200295 Add a notification history
Every notification is written down with how it went through each channel
(or why it was not sent: held for quiet hours, a routing rule said nobody, no
channel on). Records -> Notifications lists them with a filter, a search and
Send again. Errors are cleaned of every secret in the settings; kept 30 days.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 19:18:08 +01:00

12 lines
350 B
SQL

CREATE TABLE `notification_log` (
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
`at` text NOT NULL,
`title` text NOT NULL,
`message` text NOT NULL,
`status` text NOT NULL,
`results` text DEFAULT '[]' NOT NULL,
`note` text,
`resent_of` integer
);
--> statement-breakpoint
CREATE INDEX `notification_log_at_idx` ON `notification_log` (`at`);