schema/pgsql: fix forgotten column configs

thanks @greatexpectations!

fixes #12863
This commit is contained in:
Thomas Gelf 2016-10-06 17:46:14 +00:00
parent c0a8c49d4f
commit f60f35bd1f
2 changed files with 9 additions and 3 deletions

View File

@ -0,0 +1,6 @@
COMMENT ON COLUMN icinga_timeperiod_range.range_key IS 'monday, ...';
COMMENT ON COLUMN icinga_timeperiod_range.range_value IS '00:00-24:00, ...';
INSERT INTO director_schema_migration
(schema_version, migration_time)
VALUES (113, NOW());

View File

@ -325,8 +325,8 @@ CREATE TABLE icinga_timeperiod_range (
);
CREATE INDEX timeperiod_range_timeperiod ON icinga_timeperiod_range (timeperiod_id);
COMMENT ON COLUMN icinga_timeperiod_range.timeperiod_key IS 'monday, ...';
COMMENT ON COLUMN icinga_timeperiod_range.timeperiod_value IS '00:00-24:00, ...';
COMMENT ON COLUMN icinga_timeperiod_range.range_key IS 'monday, ...';
COMMENT ON COLUMN icinga_timeperiod_range.range_value IS '00:00-24:00, ...';
COMMENT ON COLUMN icinga_timeperiod_range.range_type IS 'include -> ranges {}, exclude ranges_ignore {} - not yet';
COMMENT ON COLUMN icinga_timeperiod_range.merge_behaviour IS 'set -> = {}, add -> += {}, substract -> -= {}';
@ -1545,4 +1545,4 @@ CREATE UNIQUE INDEX notification_inheritance ON icinga_notification_inheritance
INSERT INTO director_schema_migration
(schema_version, migration_time)
VALUES (111, NOW());
VALUES (113, NOW());