diff --git a/src/db/migration/V20170702_1432__mantis9295.sql b/src/db/migration/V20170702_1432__mantis9295.sql new file mode 100644 index 000000000..d19dce960 --- /dev/null +++ b/src/db/migration/V20170702_1432__mantis9295.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE PTOVTA_CAT_IND ADD (USUARIOBLOQUEADO_ID NUMBER(7) DEFAULT -1) '; + exception when object_exists then null; +end; \ No newline at end of file diff --git a/src/db/migration/V20170702_1516__mantis9295.sql b/src/db/migration/V20170702_1516__mantis9295.sql new file mode 100644 index 000000000..30ae94d50 --- /dev/null +++ b/src/db/migration/V20170702_1516__mantis9295.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'INSERT INTO USUARIO (USUARIO_ID, NOMBUSUARIO, CVEUSUARIO, activo) VALUES (-1, ''TODOS'', ''TODOS'', 1)'; + exception when object_exists then null; +end; \ No newline at end of file