diff --git a/src/db/migration/V20180502_1554__mantis11034.sql b/src/db/migration/V20180502_1554__mantis11034.sql index c59a7998b..9b5d774a4 100644 --- a/src/db/migration/V20180502_1554__mantis11034.sql +++ b/src/db/migration/V20180502_1554__mantis11034.sql @@ -14,164 +14,3 @@ begin exception when column_exists then null; end; / -declare - column_exists exception; - pragma exception_init (column_exists , -01430); -begin - execute immediate 'ALTER TABLE ORGAO_CONCEDENTE ADD (INTEGRADOTOTVS NUMBER(1,0))'; - exception when column_exists then null; -end; -/ -declare - column_exists exception; - pragma exception_init (column_exists , -01430); -begin - execute immediate 'ALTER TABLE VIA ADD (INTEGRADOTOTVS NUMBER(1,0))'; - exception when column_exists then null; -end; -/ -declare - column_exists exception; - pragma exception_init (column_exists , -01430); -begin - execute immediate 'ALTER TABLE CLASE_SERVICIO ADD (INTEGRADOTOTVS NUMBER(1,0))'; - exception when column_exists then null; -end; -/ -declare - column_exists exception; - pragma exception_init (column_exists , -01430); -begin - execute immediate 'ALTER TABLE RUTA ADD (INTEGRADOTOTVS NUMBER(1,0))'; - exception when column_exists then null; -end; -/ -declare - column_exists exception; - pragma exception_init (column_exists , -01430); -begin - execute immediate 'ALTER TABLE PUNTO_VENTA ADD (INTEGRADOTOTVS NUMBER(1,0))'; - exception when column_exists then null; -end; -/ -declare - column_exists exception; - pragma exception_init (column_exists , -01430); -begin - execute immediate 'ALTER TABLE TARIFA ADD (INTEGRADOTOTVS NUMBER(1,0))'; - exception when column_exists then null; -end; ---USUARIO -/ -declare - column_exists exception; - pragma exception_init (column_exists , -01430); -begin - execute immediate 'ALTER TABLE USUARIO ADD (INTEGRADOTOTVS NUMBER(1,0) )'; - exception when column_exists then null; -end; -/ -declare - column_exists exception; - pragma exception_init (column_exists , -01430); -begin - execute immediate 'ALTER TABLE ESQUEMA_CORRIDA ADD (INTEGRADOTOTVS NUMBER(1,0) )'; - exception when column_exists then null; -end; -/ -declare - column_exists exception; - pragma exception_init (column_exists , -01430); -begin - execute immediate 'ALTER TABLE CORRIDA ADD (INTEGRADOTOTVS NUMBER(1,0) )'; - exception when column_exists then null; -end; -/ -declare - object_exists exception; - pragma exception_init (object_exists , -01451); -begin - execute immediate 'ALTER TABLE PARADA MODIFY (INTEGRADOTOTVS NULL)'; - exception when object_exists then null; -end; -/ -declare - object_exists exception; - pragma exception_init (object_exists , -01451); -begin - execute immediate 'ALTER TABLE TIPO_PARADA MODIFY (INTEGRADOTOTVS NULL)'; - exception when object_exists then null; -end; -/ -declare - object_exists exception; - pragma exception_init (object_exists , -01451); -begin - execute immediate 'ALTER TABLE ORGAO_CONCEDENTE MODIFY (INTEGRADOTOTVS NULL)'; - exception when object_exists then null; -end; -/ -declare - object_exists exception; - pragma exception_init (object_exists, -01451); -begin - execute immediate 'ALTER TABLE VIA MODIFY (INTEGRADOTOTVS NULL)'; - exception when object_exists then null; -end; -/ -declare - object_exists exception; - pragma exception_init (object_exists, -01451); -begin - execute immediate 'ALTER TABLE CLASE_SERVICIO MODIFY (INTEGRADOTOTVS NULL)'; - exception when object_exists then null; -end; -/ -declare - object_exists exception; - pragma exception_init (object_exists , -01451); -begin - execute immediate 'ALTER TABLE RUTA MODIFY (INTEGRADOTOTVS NULL)'; - exception when object_exists then null; -end; -/ -declare - object_exists exception; - pragma exception_init (object_exists , -01451); -begin - execute immediate 'ALTER TABLE PUNTO_VENTA MODIFY (INTEGRADOTOTVS NULL)'; - exception when object_exists then null; -end; -/ -declare - object_exists exception; - pragma exception_init (object_exists , -01451); -begin - execute immediate 'ALTER TABLE TARIFA MODIFY (INTEGRADOTOTVS NULL)'; - exception when object_exists then null; -end; -/ -declare - object_exists exception; - pragma exception_init (object_exists , -01451); -begin - execute immediate 'ALTER TABLE USUARIO MODIFY (INTEGRADOTOTVS NULL)'; - exception when object_exists then null; -end; -/ -declare - object_exists exception; - pragma exception_init (object_exists , -01451); -begin - execute immediate 'ALTER TABLE ESQUEMA_CORRIDA MODIFY (INTEGRADOTOTVS NULL)'; - exception when object_exists then null; -end; -/ -declare - object_exists exception; - pragma exception_init (object_exists , -01451); -begin - execute immediate 'ALTER TABLE CORRIDA MODIFY (INTEGRADOTOTVS NULL)'; - exception when object_exists then null; -end; -