Merge pull request 'fixes bug#AL-4236' (!111) from AL-4236 into master

Reviewed-on: utilidades/Flyway#111
Reviewed-by: Célio de Souza Ribeiro JR <celio@rjconsultores.com.br>
master
Gleison da Cruz 2024-05-06 19:30:17 +00:00
commit 4d0f0556cc
2 changed files with 17 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.40.0</version>
<version>1.40.1</version>
<distributionManagement>
<repository>

View File

@ -0,0 +1,16 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE LOG_AUDITORIA MODIFY VALOR_NOVO VARCHAR2(1000)';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE LOG_AUDITORIA MODIFY VALOR_ANTERIOR VARCHAR2(1000)';
exception when column_exists then null;
end;
/