diff --git a/src/db/migration/V20171211_1511__mantis9984.sql b/src/db/migration/V20171211_1511__mantis9984.sql index 3346cec97..6309b474b 100644 --- a/src/db/migration/V20171211_1511__mantis9984.sql +++ b/src/db/migration/V20171211_1511__mantis9984.sql @@ -140,7 +140,7 @@ end; / declare object_exists exception; - pragma exception_init (object_exists , -01430); + pragma exception_init (object_exists , -00955); begin execute immediate 'CREATE TABLE "TAXPOLV" @@ -181,7 +181,7 @@ end; -------------------------------------------------------- declare object_exists exception; - pragma exception_init (object_exists , -01408); + pragma exception_init (object_exists , -00955); begin execute immediate 'CREATE UNIQUE INDEX "IDX_TAXPOLV" ON "TAXPOLV" ("TAXPOLV_ID")'; diff --git a/src/db/migration/V20180111_1030__mantis9984.sql b/src/db/migration/V20180111_1030__mantis9984.sql index 2025b11c8..b268fecfc 100644 --- a/src/db/migration/V20180111_1030__mantis9984.sql +++ b/src/db/migration/V20180111_1030__mantis9984.sql @@ -1,7 +1,7 @@ declare object_exists exception; - pragma exception_init (object_exists , -00955); + pragma exception_init (object_exists , -01430); begin - execute immediate 'ALTER TABLE EMPRESA ADD ( INDIMPRIMECUPEMBVENDAMANUAL NUMBER(1, 0) DEFAULT 0 NOT NULL )'; + execute immediate 'ALTER TABLE TAXPOLV ADD (NUMOPERACION VARCHAR2(36 BYTE))'; exception when object_exists then null; end; \ No newline at end of file