fix: refs #7722 delete sms #2732

Merged
robert merged 6 commits from 7722-deleteSms into master 2024-07-16 07:04:58 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 0fb882e688 - Show all commits

View File

@ -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

DELETE cs

DELETE cs
FROM sms s
JOIN clientSms cs ON cs.smsFk = s.id
WHERE s.created < v18Months;