Merge pull request 'Bolivariano - Troca de passagem não cobra e/ou devolve diferença feat' (!213) from AL-5085 into master

Reviewed-on: utilidades/Flyway#213
Reviewed-by: aristides <aristides@rjconsultores.com.br>
master
Valdir Cordeiro 2024-10-11 18:21:50 +00:00
commit 7a6dd09851
2 changed files with 19 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.98.4</version>
<version>1.99.0</version>
<distributionManagement>
<repository>

View File

@ -0,0 +1,18 @@
declare
object_exists exception;
except_02275 exception;
except_02270 exception;
except_02261 exception;
pragma exception_init (object_exists , -01430);
pragma exception_init (except_02275 , -02275);
pragma exception_init (except_02270 , -02270);
pragma exception_init (except_02261 , -02261);
begin
execute immediate 'ALTER TABLE ORGAO_CANCELACION ADD(INDDEVOLUCAOTROCA NUMBER(1,0), INDCOBRANCATROCA NUMBER(1,0))';
exception
when object_exists then null;
when except_02275 then null;
when except_02270 then null;
when except_02261 then null;
end;