Diff -- drift_sense.ALERT_DELIVERIES

O Operator
Diff

drift_sense.ALERT_DELIVERIES

on local at 2026-07-11 20:55:02

Added
+1
lines
Removed
-1
lines
Context
15
unchanged
Blobs
from 90eeff74dc3f
to b87aae886a6a
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.
11CREATE TABLE `ALERT_DELIVERIES` (
22 `delivery_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
33 `alert_rule_id` int(10) unsigned NOT NULL,
44 `fired_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
55 `source_kind` enum('file','schema') NOT NULL,
66 `source_id` bigint(20) unsigned NOT NULL,
77 `match_summary` varchar(500) DEFAULT NULL,
88 `delivery_status` enum('pending','sent','failed','skipped') NOT NULL DEFAULT 'pending',
99 `http_status` int(11) DEFAULT NULL,
1010 `http_response` text,
1111 `error_message` text,
1212 PRIMARY KEY (`delivery_id`),
1313 KEY `idx_rule` (`alert_rule_id`,`fired_at`),
1414 KEY `idx_fired` (`fired_at`),
1515 KEY `idx_source` (`source_kind`,`source_id`)
16) ENGINE=InnoDB AUTO_INCREMENT=60 DEFAULT CHARSET=utf8mb4
16) ENGINE=InnoDB AUTO_INCREMENT=61 DEFAULT CHARSET=utf8mb4