From b52316a8b595ba8bd5efb36e113ead263cb48c95 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 14 Feb 2019 15:18:25 +0100 Subject: [PATCH] pgsql/migrations: ignore missing index fixes #1736 --- schema/pgsql-migrations/upgrade_156.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/pgsql-migrations/upgrade_156.sql b/schema/pgsql-migrations/upgrade_156.sql index 30ccb7d2..aa80cb31 100644 --- a/schema/pgsql-migrations/upgrade_156.sql +++ b/schema/pgsql-migrations/upgrade_156.sql @@ -1,4 +1,4 @@ -DROP INDEX command_object_name; +DROP INDEX IF EXISTS command_object_name; CREATE UNIQUE INDEX command_object_name ON icinga_command (object_name); INSERT INTO director_schema_migration