Files
logbuch/drizzle/0012_solid_tarantula.sql
T
Matthias G 81d0489c78 Send through a bot token so messages can be deleted again
Incoming webhooks return no message id, so nothing can be removed later.
Settings now take a bot token plus channel, chat.postMessage records channel
and timestamp on the run, and the history carries a delete button per
message. The webhook stays as a fallback and is marked as not deletable.
2026-08-03 12:45:04 +02:00

3 lines
229 B
SQL

ALTER TABLE "report_run" ADD COLUMN "channel" text;--> statement-breakpoint
ALTER TABLE "report_run" ADD COLUMN "message_ts" text;--> statement-breakpoint
ALTER TABLE "report_run" ADD COLUMN "deleted_at" timestamp with time zone;