Merge pull request 'bug#AL-4133' (!128) from AL-4133 into master

Reviewed-on: utilidades/Flyway#128
Reviewed-by: Valdir Cordeiro <valdir.cordeiro@totvs.com.br>
master
aristides 2024-06-26 14:42:05 +00:00
commit 36a7accb5a
2 changed files with 16 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.49.0</version> <version>1.50.0</version>
<distributionManagement> <distributionManagement>
<repository> <repository>

View File

@ -0,0 +1,15 @@
declare
object_exists exception;
except_01451 exception;
except_01442 exception;
pragma exception_init (object_exists , -01430);
pragma exception_init (except_01451 , -01451);
pragma exception_init (except_01442 , -01442);
begin
execute immediate 'ALTER TABLE empresa ADD INDBILHETEDEVPIXDINHEIRO NUMBER(1,0)';
exception
when object_exists then null;
when except_01451 then null;
when except_01442 then null;
end;