Commit fc9ac609 authored by Pierre-Elliott Bécue's avatar Pierre-Elliott Bécue

[maintenance.sql] On garde un peu plus de logs d'upload

parent 770489aa
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment