stamp_updated et non stamp_inserted

This commit is contained in:
Pierre-Elliott Bécue 2015-03-30 00:38:46 +02:00
parent 64bb5252ea
commit 6093c61b42
4 changed files with 21 additions and 21 deletions

View file

@ -3,4 +3,4 @@
-----------------------------------------------------------------
-- effacement des vieux enregistrements
DELETE FROM upload where stamp_inserted < timestamp 'now' - interval '5 days';
DELETE FROM upload where stamp_updated < timestamp 'now' - interval '5 days';