This commit is contained in:
parent
8f41546829
commit
0fb882e688
|
@ -28,7 +28,7 @@ BEGIN
|
||||||
DELETE FROM ticketDown WHERE created < util.yesterday();
|
DELETE FROM ticketDown WHERE created < util.yesterday();
|
||||||
DELETE FROM entryLog WHERE creationDate < v2Months;
|
DELETE FROM entryLog WHERE creationDate < v2Months;
|
||||||
DELETE IGNORE FROM expedition WHERE created < v26Months;
|
DELETE IGNORE FROM expedition WHERE created < v26Months;
|
||||||
DELETE cs.*
|
DELETE cs
|
||||||
FROM sms s
|
FROM sms s
|
||||||
JOIN clientSms cs ON cs.smsFk = s.id
|
JOIN clientSms cs ON cs.smsFk = s.id
|
||||||
WHERE s.created < v18Months;
|
WHERE s.created < v18Months;
|
||||||
|
|
Loading…
Reference in New Issue