mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
schema/pgsql: do not enforce import end_time
This commit is contained in:
parent
9ede46f839
commit
4d84b41272
5
schema/pgsql-migrations/upgrade_81.sql
Normal file
5
schema/pgsql-migrations/upgrade_81.sql
Normal file
@ -0,0 +1,5 @@
|
||||
ALTER TABLE import_run ALTER COLUMN end_time DROP NOT NULL;
|
||||
|
||||
INSERT INTO director_schema_migration
|
||||
(schema_version, migration_time)
|
||||
VALUES (81, NOW());
|
@ -1210,7 +1210,7 @@ CREATE TABLE import_run (
|
||||
source_id integer NOT NULL,
|
||||
rowset_checksum bytea CHECK(LENGTH(rowset_checksum) = 20),
|
||||
start_time timestamp with time zone NOT NULL,
|
||||
end_time timestamp with time zone NOT NULL,
|
||||
end_time timestamp with time zone DEFAULT NULL,
|
||||
succeeded enum_boolean DEFAULT NULL,
|
||||
PRIMARY KEY (id),
|
||||
CONSTRAINT import_run_source
|
||||
@ -1415,4 +1415,4 @@ CREATE UNIQUE INDEX notification_inheritance ON icinga_notification_inheritance
|
||||
-- set current schema version
|
||||
INSERT INTO director_schema_migration
|
||||
(schema_version, migration_time)
|
||||
VALUES (80, NOW());
|
||||
VALUES (81, NOW());
|
||||
|
Loading…
x
Reference in New Issue
Block a user