icingaweb2-module-director/schema/pgsql-migrations/upgrade_139.sql

10 lines
238 B
SQL

UPDATE import_row_modifier SET priority = id;
CREATE UNIQUE INDEX import_row_modifier_prio
ON import_row_modifier (source_id, priority);
INSERT INTO director_schema_migration
(schema_version, migration_time)
VALUES (139, NOW());