feat: refs #6371 cleanTablesFix #2011
|
@ -56,13 +56,6 @@ proc: BEGIN
|
|||
JOIN travel t ON t.id = e.travel_id
|
||||
WHERE t.landing <= vDate;
|
||||
|
||||
DELETE co
|
||||
FROM Compres_ok co JOIN Compres c ON c.Id_Compra = co.Id_Compra
|
||||
JOIN Entradas e ON e.Id_Entrada = c.Id_Entrada
|
||||
JOIN travel t ON t.id = e.travel_id
|
||||
WHERE t.landing <= vDate;
|
||||
DELETE FROM scan WHERE odbc_date < vDate6 AND id <> 1;
|
||||
|
||||
IF v_full THEN
|
||||
CREATE OR REPLACE TEMPORARY TABLE tTicketDelete
|
||||
SELECT DISTINCT tl.originFk ticketFk
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
ALTER TABLE IF EXISTS vn2008.Compres_ok__ RENAME vn2008.Compres_ok;
|
||||
ALTER TABLE IF EXISTS vn2008.Compres_ok COMMENT='';
|
||||
|
||||
|
||||
-- Para la tabla Monitoring
|
||||
ALTER TABLE IF EXISTS vn2008.Monitoring RENAME vn2008.Monitoring__;
|
||||
ALTER TABLE IF EXISTS vn2008.Monitoring__ COMMENT='refs #6371 deprecated 2024-01-11';
|
||||
|
|
Loading…
Reference in New Issue