reminder-bot/migrations/20230903131153_reminder_status_timing.sql

5 lines
175 B
SQL

ALTER TABLE reminders ADD COLUMN `status_change_time` DATETIME;
-- This is a best-guess as to the status change time.
UPDATE reminders SET `status_change_time` = `utc_time`;