fixed cache Refactoring from app router to page router Refactoring from app router to page router Add authentication with JWT base ui done protect the dashboard added transitions styling type trick added cleanup Add enable-disable logic add transactional emails Improvements on delay and frontend added description on select implement auth with magic link migrate to mariadb webhook signature working Adding async processing with queues Implemented webhook reply functionality Add son execution logs update status logic Add recent activity monitoring to sons show son performance in dashboard add readme implement listmonk connector listmonk-connector-v1 Create CODE_OF_CONDUCT.md Create LICENSE
12 lines
530 B
SQL
12 lines
530 B
SQL
-- 000002_son_execution_logs.up.sql
|
|
CREATE TABLE son_execution_logs (
|
|
id VARCHAR(36) PRIMARY KEY,
|
|
son_id VARCHAR(36) NOT NULL,
|
|
webhook_log_id VARCHAR(36) NOT NULL,
|
|
execution_status VARCHAR(10) NOT NULL,
|
|
executed_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
error_message TEXT,
|
|
FOREIGN KEY (son_id) REFERENCES sons(id) ON DELETE CASCADE,
|
|
FOREIGN KEY (webhook_log_id) REFERENCES webhook_logs(id) ON DELETE CASCADE,
|
|
CONSTRAINT chk_execution_status CHECK (execution_status IN ('success', 'failure'))
|
|
);
|