Merge pull request 'AL-2143' (#24) from AL-2143 into master

Reviewed-on: http://18.235.188.113:3000/utilidades/Flyway/pulls/24
Reviewed-by: fabio <fabio.faria@rjconsultores.com.br>
Reviewed-by: Gleison da Cruz <gleison.cruz@totvs.com.br>
master
pinheiro 2023-03-16 12:42:00 +00:00
commit 3db3929151
3 changed files with 17 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId> <groupId>br.com.rjconsultores</groupId>
<artifactId>Flyway</artifactId> <artifactId>Flyway</artifactId>
<version>1.0.25</version> <version>1.0.26</version>
<distributionManagement> <distributionManagement>
<repository> <repository>

View File

@ -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_SCO_RJCONSULTORES'', ''EMAIL_SUPORTE_SCO_RJCONSULTORES'', ''suportesco.rjconsultores@totvs.com.br'', ''1'', ''1'', ''1'', sysdate, ''1'')';
exception when dup_val_on_index then null;
end;

View File

@ -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;