Merge pull request 'Fixes Bug#AL-4928' (!214) from AL-4928 into master

Reviewed-on: utilidades/Flyway#214
Reviewed-by: fabio <fabio.faria@rjconsultores.com.br>
master
luis.espina 2024-10-22 20:16:40 +00:00
commit 34219196a8
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
declare
object_exists exception;
except_00957 exception;
table_exists exception;
pragma exception_init (object_exists , -01430);
pragma exception_init (except_00957 , -00957);
pragma exception_init(table_exists, -942);
begin
execute immediate 'ALTER TABLE CONFIG_PRODUCTO_PARADA RENAME COLUMN CONF_PRODUCTO_PARADA_ID TO CONFIGPRODUCTOPARADA_ID';
exception
when object_exists then null;
when except_00957 then null;
when table_exists then null;
end;