feat: refs #7222
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Robert Ferrús 2024-07-15 14:25:42 +02:00
parent 0eb8a46da8
commit 8f41546829
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ BEGIN
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;
DELETE FROM sms WHERE created < v18Months; DELETE FROM sms WHERE created < v18Months;
DELETE FROM saleTracking WHERE created < v1Years; DELETE FROM saleTracking WHERE created < v1Years;
DELETE FROM productionError WHERE dated < v1Years; DELETE FROM productionError WHERE dated < v1Years;