Merge pull request 'Se actualiza longitud de campo DESCTRAYECTO en tabla TRAYECTOS_EXPRESOS. Fixes bug#AL-4549' (!189) from AL-4549 into master

Reviewed-on: utilidades/Flyway#189
Reviewed-by: fabio <fabio.faria@rjconsultores.com.br>
master
fernando.mx 2024-09-03 22:18:39 +00:00
commit 8fd0a3bb82
2 changed files with 13 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.90.1</version>
<version>1.90.2</version>
<distributionManagement>
<repository>

View File

@ -0,0 +1,12 @@
declare
object_exists exception;
except_00957 exception;
pragma exception_init (object_exists , -01430);
pragma exception_init (except_00957 , -00957);
begin
execute immediate 'ALTER TABLE TRAYECTOS_EXPRESOS MODIFY DESCTRAYECTO VARCHAR2(100 BYTE)';
exception
when object_exists then null;
when except_00957 then null;
end;