mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
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
|
||||
ADD COLUMN range_key VARCHAR(255) NOT NULL COMMENT 'monday, ...',
|
||||
ADD COLUMN range_value VARCHAR(255) NOT NULL COMMENT '00:00-24:00, ...';
|
||||
|
Loading…
x
Reference in New Issue
Block a user