From d3af5d6664feb0a422cf71f281f46d7b8d356ca6 Mon Sep 17 00:00:00 2001 From: robert Date: Thu, 1 Feb 2024 07:14:02 +0100 Subject: [PATCH] feat: refs #6688 delete view vn2008 part5 --- db/routines/vn2008/views/observation_type.sql | 6 ------ db/routines/vn2008/views/order.sql | 15 --------------- db/routines/vn2008/views/order_Tickets.sql | 6 ------ db/routines/vn2008/views/order_component.sql | 7 ------- db/routines/vn2008/views/order_row.sql | 14 -------------- 5 files changed, 48 deletions(-) delete mode 100644 db/routines/vn2008/views/observation_type.sql delete mode 100644 db/routines/vn2008/views/order.sql delete mode 100644 db/routines/vn2008/views/order_Tickets.sql delete mode 100644 db/routines/vn2008/views/order_component.sql delete mode 100644 db/routines/vn2008/views/order_row.sql diff --git a/db/routines/vn2008/views/observation_type.sql b/db/routines/vn2008/views/observation_type.sql deleted file mode 100644 index 2fea17c5f..000000000 --- a/db/routines/vn2008/views/observation_type.sql +++ /dev/null @@ -1,6 +0,0 @@ -CREATE OR REPLACE DEFINER=`root`@`localhost` - SQL SECURITY DEFINER - VIEW `vn2008`.`observation_type` -AS SELECT `co`.`id` AS `observation_type_id`, - `co`.`description` AS `description` -FROM `vn`.`observationType` `co` diff --git a/db/routines/vn2008/views/order.sql b/db/routines/vn2008/views/order.sql deleted file mode 100644 index e0c8c5f85..000000000 --- a/db/routines/vn2008/views/order.sql +++ /dev/null @@ -1,15 +0,0 @@ -CREATE OR REPLACE DEFINER=`root`@`localhost` - SQL SECURITY DEFINER - VIEW `vn2008`.`order` -AS SELECT `hedera`.`order`.`id` AS `id`, - `hedera`.`order`.`date_make` AS `date_make`, - `hedera`.`order`.`date_send` AS `date_send`, - `hedera`.`order`.`customer_id` AS `customer_id`, - `hedera`.`order`.`delivery_method_id` AS `delivery_method_id`, - `hedera`.`order`.`agency_id` AS `agency_id`, - `hedera`.`order`.`address_id` AS `address_id`, - `hedera`.`order`.`note` AS `note`, - `hedera`.`order`.`confirmed` AS `confirmed`, - `hedera`.`order`.`is_bionic` AS `is_bionic`, - `hedera`.`order`.`source_app` AS `source_app` -FROM `hedera`.`order` diff --git a/db/routines/vn2008/views/order_Tickets.sql b/db/routines/vn2008/views/order_Tickets.sql deleted file mode 100644 index 46fdf8e55..000000000 --- a/db/routines/vn2008/views/order_Tickets.sql +++ /dev/null @@ -1,6 +0,0 @@ -CREATE OR REPLACE DEFINER=`root`@`localhost` - SQL SECURITY DEFINER - VIEW `vn2008`.`order_Tickets` -AS SELECT `ot`.`orderFk` AS `order_id`, - `ot`.`ticketFk` AS `Id_Ticket` -FROM `vn`.`orderTicket` `ot` diff --git a/db/routines/vn2008/views/order_component.sql b/db/routines/vn2008/views/order_component.sql deleted file mode 100644 index c4468f084..000000000 --- a/db/routines/vn2008/views/order_component.sql +++ /dev/null @@ -1,7 +0,0 @@ -CREATE OR REPLACE DEFINER=`root`@`localhost` - SQL SECURITY DEFINER - VIEW `vn2008`.`order_component` -AS SELECT `c`.`order_row_id` AS `order_row_id`, - `c`.`component_id` AS `component_id`, - `c`.`price` AS `price` -FROM `hedera`.`order_component` `c` diff --git a/db/routines/vn2008/views/order_row.sql b/db/routines/vn2008/views/order_row.sql deleted file mode 100644 index 7f151e32b..000000000 --- a/db/routines/vn2008/views/order_row.sql +++ /dev/null @@ -1,14 +0,0 @@ -CREATE OR REPLACE DEFINER=`root`@`localhost` - SQL SECURITY DEFINER - VIEW `vn2008`.`order_row` -AS SELECT `order_row`.`id` AS `id`, - `order_row`.`order_id` AS `order_id`, - `order_row`.`item_id` AS `item_id`, - `order_row`.`warehouse_id` AS `warehouse_id`, - `order_row`.`shipment` AS `shipment`, - `order_row`.`amount` AS `amount`, - `order_row`.`price` AS `price`, - `order_row`.`rate` AS `rate`, - `order_row`.`created` AS `created`, - `order_row`.`Id_Movimiento` AS `Id_Movimiento` -FROM `hedera`.`order_row`