uptime-kuma/db/old_migrations/patch-maintenance-cron.sql

12 lines
389 B
MySQL
Raw Normal View History

2023-03-30 16:04:17 -04:00
-- You should not modify if this have pushed to Github, unless it does serious wrong with the db.
BEGIN TRANSACTION;
2023-03-31 08:25:37 -04:00
DROP TABLE maintenance_timeslot;
2023-03-30 16:04:17 -04:00
-- 999 characters. https://stackoverflow.com/questions/46134830/maximum-length-for-cron-job
ALTER TABLE maintenance ADD cron TEXT;
ALTER TABLE maintenance ADD timezone VARCHAR(255);
ALTER TABLE maintenance ADD duration INTEGER;
COMMIT;