This commit is contained in:
parent
0eb8a46da8
commit
8f41546829
|
@ -31,7 +31,7 @@ BEGIN
|
|||
DELETE cs.*
|
||||
FROM sms s
|
||||
JOIN clientSms cs ON cs.smsFk = s.id
|
||||
WHERE s. created < v18Months;
|
||||
WHERE s.created < v18Months;
|
||||
DELETE FROM sms WHERE created < v18Months;
|
||||
DELETE FROM saleTracking WHERE created < v1Years;
|
||||
DELETE FROM productionError WHERE dated < v1Years;
|
||||
|
|
Loading…
Reference in New Issue