Merge pull request 'fixes bug#AL-2912' (!83) from AL-2912 into master
Reviewed-on: utilidades/Flyway#83 Reviewed-by: Julio Heredia <julio@rjconsultores.com.br>master
commit
8a57f198c6
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.21.1</version>
|
||||
<version>1.22.1</version>
|
||||
|
||||
<distributionManagement>
|
||||
<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