Merge pull request 'Se corrige nombre de columna FORMAPAGO_ID en tabla Solicitud_Expresos. Fixes bug#AL-4549' (!186) from AL-4549 into master

Reviewed-on: utilidades/Flyway#186
Reviewed-by: wallace <wallace@rjconsultores.com.br>
master
wallace 2024-08-28 16:25:25 +00:00
commit 38f783a864
2 changed files with 13 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.88.0</version> <version>1.88.1</version>
<distributionManagement> <distributionManagement>
<repository> <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 SOLICITUD_EXPRESO RENAME COLUMN ORMAPAGO_ID TO FORMAPAGO_ID';
exception
when object_exists then null;
when except_00957 then null;
end;