reminder-bot/migration/03-reminder_variable_intervals.sql

5 lines
184 B
MySQL
Raw Normal View History

2022-02-01 23:04:31 +00:00
USE reminders;
ALTER TABLE reminders.reminders RENAME COLUMN `interval` TO `interval_seconds`;
ALTER TABLE reminders.reminders ADD COLUMN `interval_months` INT UNSIGNED DEFAULT NULL;