schema/mysql/upgrade_104: drop invalid data...
...before upgrading fixes #730
This commit is contained in:
parent
d4b28101a1
commit
402f0ed4b4
|
@ -1,3 +1,6 @@
|
||||||
|
DELETE FROM icinga_timeperiod_range
|
||||||
|
WHERE range_key IS NULL OR range_value IS NULL;
|
||||||
|
|
||||||
ALTER TABLE icinga_timeperiod_range
|
ALTER TABLE icinga_timeperiod_range
|
||||||
ADD COLUMN range_key VARCHAR(255) NOT NULL COMMENT 'monday, ...',
|
ADD COLUMN range_key VARCHAR(255) NOT NULL COMMENT 'monday, ...',
|
||||||
ADD COLUMN range_value VARCHAR(255) NOT NULL COMMENT '00:00-24:00, ...';
|
ADD COLUMN range_value VARCHAR(255) NOT NULL COMMENT '00:00-24:00, ...';
|
||||||
|
|
Loading…
Reference in New Issue