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
commit
34219196a8
|
@ -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;
|
Loading…
Reference in New Issue