1 ALTER TABLE recurring_downtime
2 ADD COLUMN comment TEXT NOT NULL DEFAULT "",
3 ADD COLUMN start_time INT NOT NULL,
4 ADD COLUMN end_time INT NOT NULL,
5 ADD COLUMN duration VARCHAR(5) NOT NULL,
6 ADD COLUMN fixed TINYINT(1) DEFAULT 1,
7 ADD COLUMN weekdays VARCHAR(255),
8 ADD COLUMN months VARCHAR(255);
10 CREATE TABLE recurring_downtime_objects (
11 recurring_downtime_id int(11) NOT NULL,
12 object_name VARCHAR(255),
13 FOREIGN KEY (recurring_downtime_id) REFERENCES recurring_downtime(id)