fixes bug#AL-2912

master
celio.souza 2023-11-28 16:56:11 -03:00
parent bd15dd041d
commit 0aeb256500
3 changed files with 21 additions and 1 deletions

View File

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

View File

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

View File

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