Change migration

This commit is contained in:
claude Bot committed 2023-09-23 15:16:45 +01:00
1 parent 6f1ef206df
commit 4bc7ae8e23
2 files changed
+2 -10

No files matched your search

@@ -1,4 +1,4 @@
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`;
UPDATE reminders SET `status_change_time` = `utc_time` WHERE `status` != 'pending';