Files
ems/db/migration/V063__site_discord_webhooks.sql
Dusan Vojacek 1d04790f28
Some checks failed
CI and deploy / migration-check (push) Failing after 14s
CI and deploy / deploy (push) Has been skipped
extend webhook per site
2026-04-26 22:04:48 +02:00

11 lines
491 B
SQL

alter table ems.site
add column if not exists discord_webhook_daily_url text,
add column if not exists discord_webhook_error_url text;
comment on column ems.site.discord_webhook_daily_url is
'Discord webhook pro běžné denní zprávy (např. ranní ekonomický report). Per-site konfigurace.';
comment on column ems.site.discord_webhook_error_url is
'Discord webhook pro error/critical alerty (mismatch, fatal plan vs actual, clock verify exhausted, apod.). Per-site konfigurace.';