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
Célio de Souza Ribeiro JR 2023-06-16 13:44:13 +00:00
commit 6a4fdfb065
2 changed files with 17 additions and 1 deletions

View File

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

View File

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