Skip to content

Commit

Permalink
added script cleaning up some old unneeded data
Browse files Browse the repository at this point in the history
  • Loading branch information
ttomasz committed Sep 5, 2021
1 parent a617327 commit edb1140
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions processing/sql/dml/999_table_cleanup.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
delete from expired_tiles where processed and created_at < (CURRENT_TIMESTAMP - INTERVAL '7 days');
--vacuum analyze expired_tiles ;

0 comments on commit edb1140

Please sign in to comment.