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
commit
38f783a864
2
pom.xml
2
pom.xml
|
@ -4,7 +4,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>Flyway</artifactId>
|
||||
<version>1.88.0</version>
|
||||
<version>1.88.1</version>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
|
|
|
@ -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;
|
Loading…
Reference in New Issue