Merge pull request 'FixesBug#AL4505' (!201) from AL-4505Fixes into master
Reviewed-on: utilidades/Flyway#201 Reviewed-by: fabio <fabio.faria@rjconsultores.com.br>master
commit
b5f44a8139
2
pom.xml
2
pom.xml
|
@ -4,7 +4,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>Flyway</artifactId>
|
||||
<version>1.93.0</version>
|
||||
<version>1.93.1</version>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
declare
|
||||
dup_val_on_index exception;
|
||||
except_02291 exception;
|
||||
|
||||
pragma exception_init (dup_val_on_index , -00001);
|
||||
pragma exception_init (except_02291 , -02291);
|
||||
begin
|
||||
execute immediate 'INSERT INTO TIPO_EVENTO_EXTRA (TIPOEVENTOEXTRA_ID,INDTIPO,IMPMAX,INDVALIDADOCUMENTO,INDBOLETO,PORCIVA,USUARIO_ID,FECMODIF,ACTIVO,INDOPERACION,DESCTIPOEVENTO,
|
||||
CVETIPOEVENTO,INDQUANTVIASIMPRIMIR) VALUES (TIPO_EVENTO_EXTRA_SEQ.NEXTVAL,''1'',9999999,0,0,0,1,SYSDATE,1,1,''ESTAMPILLA'',''ESTAMPILLA'',1)';
|
||||
exception
|
||||
when dup_val_on_index then null;
|
||||
when except_02291 then null;
|
||||
end;
|
|
@ -1,15 +1,15 @@
|
|||
declare
|
||||
column_exists exception;
|
||||
pragma exception_init (column_exists , -01451);
|
||||
begin
|
||||
execute immediate 'ALTER SESSION SET NLS_NUMERIC_CHARACTERS = ',.'';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare
|
||||
column_exists exception;
|
||||
pragma exception_init (column_exists , -01451);
|
||||
object_exists exception;
|
||||
except_01451 exception;
|
||||
except_01442 exception;
|
||||
|
||||
pragma exception_init (object_exists , -01430);
|
||||
pragma exception_init (except_01451 , -01451);
|
||||
pragma exception_init (except_01442 , -01442);
|
||||
begin
|
||||
execute immediate 'ALTER TABLE PARAM_RECOLECCION MODIFY (IMPORTEADICIONAL NUMBER(10,2))';
|
||||
exception when column_exists then null;
|
||||
exception
|
||||
when object_exists then null;
|
||||
when except_01451 then null;
|
||||
when except_01442 then null;
|
||||
end;
|
|
@ -1,7 +1,15 @@
|
|||
declare
|
||||
column_exists exception;
|
||||
pragma exception_init (column_exists , -01451);
|
||||
object_exists exception;
|
||||
except_01451 exception;
|
||||
except_01442 exception;
|
||||
|
||||
pragma exception_init (object_exists , -01430);
|
||||
pragma exception_init (except_01451 , -01451);
|
||||
pragma exception_init (except_01442 , -01442);
|
||||
begin
|
||||
execute immediate 'ALTER TABLE PARAM_RECOLECCION MODIFY (IMPORTEINICIAL NUMBER(10,2))';
|
||||
exception when column_exists then null;
|
||||
exception
|
||||
when object_exists then null;
|
||||
when except_01451 then null;
|
||||
when except_01442 then null;
|
||||
end;
|
|
@ -1,15 +1,15 @@
|
|||
declare
|
||||
column_exists exception;
|
||||
pragma exception_init (column_exists , -01451);
|
||||
begin
|
||||
execute immediate 'ALTER SESSION SET NLS_NUMERIC_CHARACTERS = ',.'';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare
|
||||
column_exists exception;
|
||||
pragma exception_init (column_exists , -01451);
|
||||
object_exists exception;
|
||||
except_01451 exception;
|
||||
except_01442 exception;
|
||||
|
||||
pragma exception_init (object_exists , -01430);
|
||||
pragma exception_init (except_01451 , -01451);
|
||||
pragma exception_init (except_01442 , -01442);
|
||||
begin
|
||||
execute immediate 'ALTER TABLE PARAM_RECOLECCION MODIFY (IMPORTEBASE NUMBER(10,2))';
|
||||
exception when column_exists then null;
|
||||
exception
|
||||
when object_exists then null;
|
||||
when except_01451 then null;
|
||||
when except_01442 then null;
|
||||
end;
|
|
@ -10,7 +10,7 @@ DECLARE
|
|||
object_exists EXCEPTION;
|
||||
pragma exception_init(object_exists, -00955);
|
||||
BEGIN
|
||||
EXECUTE IMMEDIATE 'CREATE TABLE CONF_PRODUCTO_PARADA (
|
||||
EXECUTE IMMEDIATE 'CREATE TABLE CONFIGURACION_PRODUCTO_PARADA (
|
||||
CONF_PRODUCTO_PARADA_ID NUMBER(7,0) NOT NULL,
|
||||
CONFIGURACIONPRODUCTO_ID NUMBER(7,0) NOT NULL,
|
||||
PARADA_ID NUMBER(7,0) NOT NULL,
|
||||
|
|
Loading…
Reference in New Issue