[maintenance.sql] On garde un peu plus de logs d'upload
This commit is contained in:
parent
770489aab7
commit
fc9ac609fc
1 changed files with 2 additions and 2 deletions
|
@ -3,9 +3,9 @@
|
|||
-----------------------------------------------------------------
|
||||
|
||||
-- effacement des vieux enregistrements
|
||||
DELETE FROM upload where date< timestamp 'now' - interval '2 days';
|
||||
DELETE FROM upload where date< timestamp 'now' - interval '5 days';
|
||||
-- la même pour upload6
|
||||
DELETE FROM upload6 WHERE date< timestamp 'now' - interval '2 days';
|
||||
DELETE FROM upload6 WHERE date< timestamp 'now' - interval '5 days';
|
||||
-- On ne blackliste plus pour virus, on droppe seulement
|
||||
-- DELETE FROM virus where date< timestamp 'now' - interval '2 days';
|
||||
-- Idem pour flood
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue