salix/db/versions/10835-brownCarnation/00-firstScript.sql

192 lines
9.0 KiB
SQL

-- Place your SQL code here
-- Place your SQL code here
ALTER TABLE IF EXISTS vn2008.Agencias_province RENAME vn2008.Agencias_province__;
ALTER TABLE IF EXISTS vn2008.Agencias_province__ COMMENT='refs #6371 deprecated 2024-01-11';
ALTER TABLE IF EXISTS vn2008.Baldas RENAME vn2008.Baldas__;
ALTER TABLE IF EXISTS vn2008.Baldas__ COMMENT='refs #6371 deprecated 2024-01-11';
ALTER TABLE IF EXISTS vn2008.Brasa RENAME vn2008.Brasa__;
ALTER TABLE IF EXISTS vn2008.Brasa__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Clases
ALTER TABLE IF EXISTS vn2008.Clases RENAME vn2008.Clases__;
ALTER TABLE IF EXISTS vn2008.Clases__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Clientes_dits
ALTER TABLE IF EXISTS vn2008.Clientes_dits RENAME vn2008.Clientes_dits__;
ALTER TABLE IF EXISTS vn2008.Clientes_dits__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Clientes_empresa
ALTER TABLE IF EXISTS vn2008.Clientes_empresa RENAME vn2008.Clientes_empresa__;
ALTER TABLE IF EXISTS vn2008.Clientes_empresa__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Clientes_event
ALTER TABLE IF EXISTS vn2008.Clientes_event RENAME vn2008.Clientes_event__;
ALTER TABLE IF EXISTS vn2008.Clientes_event__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Clientes_potenciales
ALTER TABLE IF EXISTS vn2008.Clientes_potenciales RENAME vn2008.Clientes_potenciales__;
ALTER TABLE IF EXISTS vn2008.Clientes_potenciales__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Compres_ok
ALTER TABLE IF EXISTS vn2008.Compres_ok RENAME vn2008.Compres_ok__;
ALTER TABLE IF EXISTS vn2008.Compres_ok__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Consignatarios_devices
ALTER TABLE IF EXISTS vn2008.Consignatarios_devices RENAME vn2008.Consignatarios_devices__;
ALTER TABLE IF EXISTS vn2008.Consignatarios_devices__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Conteo
ALTER TABLE IF EXISTS vn2008.Conteo RENAME vn2008.Conteo__;
ALTER TABLE IF EXISTS vn2008.Conteo__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Entradas_kop
ALTER TABLE IF EXISTS vn2008.Entradas_kop RENAME vn2008.Entradas_kop__;
ALTER TABLE IF EXISTS vn2008.Entradas_kop__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Espionajes
ALTER TABLE IF EXISTS vn2008.Espionajes RENAME vn2008.Espionajes__;
ALTER TABLE IF EXISTS vn2008.Espionajes__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Estados
ALTER TABLE IF EXISTS vn2008.Estados RENAME vn2008.Estados__;
ALTER TABLE IF EXISTS vn2008.Estados__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Familias
ALTER TABLE IF EXISTS vn2008.Familias RENAME vn2008.Familias__;
ALTER TABLE IF EXISTS vn2008.Familias__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Forms
ALTER TABLE IF EXISTS vn2008.Forms RENAME vn2008.Forms__;
ALTER TABLE IF EXISTS vn2008.Forms__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Grupos
ALTER TABLE IF EXISTS vn2008.Grupos RENAME vn2008.Grupos__;
ALTER TABLE IF EXISTS vn2008.Grupos__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Informes
ALTER TABLE IF EXISTS vn2008.Informes RENAME vn2008.Informes__;
ALTER TABLE IF EXISTS vn2008.Informes__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla MoniRENAMEring
ALTER TABLE IF EXISTS vn2008.MoniRENAMEring RENAME vn2008.MoniRENAMEring__;
ALTER TABLE IF EXISTS vn2008.MoniRENAMEring__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla MovimienRENAMEs_avisar
ALTER TABLE IF EXISTS vn2008.MovimienRENAMEs_avisar RENAME vn2008.MovimienRENAMEs_avisar__;
ALTER TABLE IF EXISTS vn2008.MovimienRENAMEs_avisar__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla MovimienRENAMEs_revisar
ALTER TABLE IF EXISTS vn2008.MovimienRENAMEs_revisar RENAME vn2008.MovimienRENAMEs_revisar__;
ALTER TABLE IF EXISTS vn2008.MovimienRENAMEs_revisar__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Proveedores_comunicados
ALTER TABLE IF EXISTS vn2008.Proveedores_comunicados RENAME vn2008.Proveedores_comunicados__;
ALTER TABLE IF EXISTS vn2008.Proveedores_comunicados__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Proveedores_escriRENAMEs
ALTER TABLE IF EXISTS vn2008.Proveedores_escriRENAMEs RENAME vn2008.Proveedores_escriRENAMEs__;
ALTER TABLE IF EXISTS vn2008.Proveedores_escriRENAMEs__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Tickets_stack
ALTER TABLE IF EXISTS vn2008.Tickets_stack RENAME vn2008.Tickets_stack__;
ALTER TABLE IF EXISTS vn2008.Tickets_stack__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Tipos_f11
ALTER TABLE IF EXISTS vn2008.Tipos_f11 RENAME vn2008.Tipos_f11__;
ALTER TABLE IF EXISTS vn2008.Tipos_f11__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla Tramos
ALTER TABLE IF EXISTS vn2008.Tramos RENAME vn2008.Tramos__;
ALTER TABLE IF EXISTS vn2008.Tramos__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla accion_dits
ALTER TABLE IF EXISTS vn2008.accion_dits RENAME vn2008.accion_dits__;
ALTER TABLE IF EXISTS vn2008.accion_dits__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla agency_hour
ALTER TABLE IF EXISTS vn2008.agency_hour RENAME vn2008.agency_hour__;
ALTER TABLE IF EXISTS vn2008.agency_hour__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla agency_warehouse
ALTER TABLE IF EXISTS vn2008.agency_warehouse RENAME vn2008.agency_warehouse__;
ALTER TABLE IF EXISTS vn2008.agency_warehouse__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla call_information
ALTER TABLE IF EXISTS vn2008.call_information RENAME vn2008.call_information__;
ALTER TABLE IF EXISTS vn2008.call_information__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla call_option
ALTER TABLE IF EXISTS vn2008.call_option RENAME vn2008.call_option__;
ALTER TABLE IF EXISTS vn2008.call_option__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla cl_dep
ALTER TABLE IF EXISTS vn2008.cl_dep RENAME vn2008.cl_dep__;
ALTER TABLE IF EXISTS vn2008.cl_dep__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla cl_pet
ALTER TABLE IF EXISTS vn2008.cl_pet RENAME vn2008.cl_pet__;
ALTER TABLE IF EXISTS vn2008.cl_pet__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla cl_que
ALTER TABLE IF EXISTS vn2008.cl_que RENAME vn2008.cl_que__;
ALTER TABLE IF EXISTS vn2008.cl_que__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla commission
ALTER TABLE IF EXISTS vn2008.commission RENAME vn2008.commission__;
ALTER TABLE IF EXISTS vn2008.commission__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla config_host_forms
ALTER TABLE IF EXISTS vn2008.config_host_forms RENAME vn2008.config_host_forms__;
ALTER TABLE IF EXISTS vn2008.config_host_forms__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla container
ALTER TABLE IF EXISTS vn2008.container RENAME vn2008.container__;
ALTER TABLE IF EXISTS vn2008.container__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla cooler_path
ALTER TABLE IF EXISTS vn2008.cooler_path RENAME vn2008.cooler_path__;
ALTER TABLE IF EXISTS vn2008.cooler_path__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla credit_card
ALTER TABLE IF EXISTS vn2008.credit_card RENAME vn2008.credit_card__;
ALTER TABLE IF EXISTS vn2008.credit_card__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla cyc
ALTER TABLE IF EXISTS vn2008.cyc RENAME vn2008.cyc__;
ALTER TABLE IF EXISTS vn2008.cyc__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla cyc_declaration
ALTER TABLE IF EXISTS vn2008.cyc_declaration RENAME vn2008.cyc_declaration__;
ALTER TABLE IF EXISTS vn2008.cyc_declaration__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla dock
ALTER TABLE IF EXISTS vn2008.dock RENAME vn2008.dock__;
ALTER TABLE IF EXISTS vn2008.dock__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla edi_testigos
ALTER TABLE IF EXISTS vn2008.edi_testigos RENAME vn2008.edi_testigos__;
ALTER TABLE IF EXISTS vn2008.edi_testigos__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla emp_day_pay
ALTER TABLE IF EXISTS vn2008.emp_day_pay RENAME vn2008.emp_day_pay__;
ALTER TABLE IF EXISTS vn2008.emp_day_pay__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla expeditions_deleted
ALTER TABLE IF EXISTS vn2008.expeditions_deleted RENAME vn2008.expeditions_deleted__;
ALTER TABLE IF EXISTS vn2008.expeditions_deleted__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla expeditions_pictures
ALTER TABLE IF EXISTS vn2008.expeditions_pictures RENAME vn2008.expeditions_pictures__;
ALTER TABLE IF EXISTS vn2008.expeditions_pictures__ COMMENT='refs #6371 deprecated 2024-01-11';
ALTER TABLE IF EXISTS vn2008.cp RENAME vn2008.cp__;
ALTER TABLE IF EXISTS vn2008.cp__ COMMENT='refs #6371 deprecated 2024-01-11';
ALTER TABLE IF EXISTS vn2008.duaDismissed RENAME vn2008.duaDismissed__;
ALTER TABLE IF EXISTS vn2008.duaDismissed__ COMMENT='refs #6371 deprecated 2024-01-11';
-- Para la tabla config
ALTER TABLE IF EXISTS vn2008.config RENAME vn2008.config__;
ALTER TABLE IF EXISTS vn2008.config__ COMMENT='refs #6371 deprecated 2024-01-11';