fixes bug#AL-2912
parent
bd15dd041d
commit
0aeb256500
2
pom.xml
2
pom.xml
|
@ -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.21.1</version>
|
<version>1.23.1</version>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (column_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE COMISSAO ADD (COMISSAO_GAP NUMBER(12,2),
|
||||||
|
RECEITA_BRUTA_OUTROS NUMBER(12,2),
|
||||||
|
RECEITA_BRUTA_TARIFA NUMBER(12,2),
|
||||||
|
TARIFA_ENTREGAS_PASSAGEM NUMBER(12,2))';
|
||||||
|
exception when column_exists then null;
|
||||||
|
end;
|
|
@ -0,0 +1,10 @@
|
||||||
|
declare
|
||||||
|
object_exists exception;
|
||||||
|
pragma exception_init (object_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE COMISSAO ADD (COMISSAO_GAP NUMBER(12,2),
|
||||||
|
RECEITA_BRUTA_OUTROS NUMBER(12,2),
|
||||||
|
RECEITA_BRUTA_TARIFA NUMBER(12,2),
|
||||||
|
TARIFA_ENTREGAS_PASSAGEM NUMBER(12,2))';
|
||||||
|
exception when object_exists then null;
|
||||||
|
end;
|
Loading…
Reference in New Issue