diff --git a/src/db/migration/V20180606_1610__mantis11304.sql b/src/db/migration/V20180606_1610__mantis11304.sql index ec1085627..fc6f54b8d 100644 --- a/src/db/migration/V20180606_1610__mantis11304.sql +++ b/src/db/migration/V20180606_1610__mantis11304.sql @@ -1,28 +1,28 @@ declare - table_exists exception; - pragma exception_init (table_exists , -00955); + object_exists exception; + pragma exception_init (object_exists , -00955); begin execute immediate 'CREATE UNIQUE INDEX PK__BPE__BPE_ID ON BPE ("BPE_ID")'; - exception when table_exists then null; + exception when object_exists then null; end; / declare - table_exists exception; - pragma exception_init (table_exists , -00955); + object_exists exception; + pragma exception_init (object_exists , -00955); begin execute immediate 'CREATE INDEX IDX__BPE_BOLETO ON BPE ("BOLETO_ID")'; - exception when table_exists then null; + exception when object_exists then null; end; / declare - table_exists exception; - pragma exception_init (table_exists , -00955); + object_exists exception; + pragma exception_init (object_exists , -00955); begin execute immediate 'CREATE INDEX IDX__BPE_BPESUBSTITUICAO ON BPE ("BPESUBSTITUICAO_ID")'; - exception when table_exists then null; + exception when object_exists then null; end; / declare