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>
12 lines
350 B
SQL
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`); |