Merge pull request 'bug#AL-2574' (!48) from AL-2574 into master
Reviewed-on: utilidades/Flyway#48 Reviewed-by: Valdir Cordeiro <valdir.cordeiro@totvs.com.br>master
commit
6a4fdfb065
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.4.2</version>
|
<version>1.4.3</version>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (column_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE FORMA_PAGO ADD INDESTORNO_RECEITA_DESPESA_CR NUMBER(1,0)';
|
||||||
|
exception when column_exists then null;
|
||||||
|
end;
|
||||||
|
/
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (column_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE FORMA_PAGO ADD TIPOEVENTOEXTRACREDITO_ID NUMBER(7,0)';
|
||||||
|
exception when column_exists then null;
|
||||||
|
end;
|
||||||
|
/
|
Loading…
Reference in New Issue