fix: refs #7722 delete sms #2732
|
@ -28,7 +28,7 @@ BEGIN
|
|||
DELETE FROM ticketDown WHERE created < util.yesterday();
|
||||
DELETE FROM entryLog WHERE creationDate < v2Months;
|
||||
DELETE IGNORE FROM expedition WHERE created < v26Months;
|
||||
DELETE cs.*
|
||||
DELETE cs
|
||||
robert marked this conversation as resolved
Outdated
|
||||
FROM sms s
|
||||
JOIN clientSms cs ON cs.smsFk = s.id
|
||||
WHERE s.created < v18Months;
|
||||
|
|
Loading…
Reference in New Issue
DELETE cs