diff --git a/src/db/migration/V20230310_1023_AL2213.sql b/src/db/migration/V20230310_1023__AL2213.sql similarity index 100% rename from src/db/migration/V20230310_1023_AL2213.sql rename to src/db/migration/V20230310_1023__AL2213.sql diff --git a/src/db/postgresql/migration/V20230310_1023_AL2213.sql b/src/db/postgresql/migration/V20230310_1023__AL2213.sql similarity index 100% rename from src/db/postgresql/migration/V20230310_1023_AL2213.sql rename to src/db/postgresql/migration/V20230310_1023__AL2213.sql diff --git a/src/db/postgresql/migration/V20230315_1755__AL-2143.sql b/src/db/postgresql/migration/V20230315_1755__AL-2143.sql new file mode 100644 index 000000000..7c93cbcf7 --- /dev/null +++ b/src/db/postgresql/migration/V20230315_1755__AL-2143.sql @@ -0,0 +1,8 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'INSERT INTO CONSTANTE (CONSTANTE_ID, NOMBCONSTANTE, DESCCONSTANTE, VALORCONSTANTE, INDTIPOCONSTANTE, INDMANTENIMIENTOUSUARIO, ACTIVO, FECMODIF, USUARIO_ID) + VALUES (CONSTANTE_SEQ.nextval, ''EMAIL_SUPORTE_RJCONSULTORES'', ''EMAIL_SUPORTE_RJCONSULTORES'', ''suporterjconsultores@totvs.com.br'', ''1'', ''1'', ''1'', sysdate, ''1'')'; + exception when dup_val_on_index then null; +end; \ No newline at end of file