diff options
| author | winter | 2025-01-19 22:17:12 +0000 |
|---|---|---|
| committer | winter | 2025-01-19 22:17:12 +0000 |
| commit | 8c6dad8c48d5d730b102d9de0079fee9752b0d35 (patch) | |
| tree | 2cfe07a8c7958f78c767fd0d1444c3f8fef70511 /bin | |
| parent | 2d9bd87fb1c565ee161f93219ce2533e8dbffe06 (diff) | |
implement notifications
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/cleandb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/cleandb b/bin/cleandb index b33f994..4aa7b37 100755 --- a/bin/cleandb +++ b/bin/cleandb @@ -12,8 +12,9 @@ DELETE FROM actor WHERE deleted = true; DELETE FROM note WHERE deleted = true; DELETE FROM interaction WHERE deleted = true; --- remove old timeline items +-- remove old timeline items and notifications DELETE FROM home_timeline_item WHERE modified < (current_timestamp - interval '6 months'); +DELETE FROM notification WHERE created < (current_timestamp - interval '1 month'); END); $db->commit();
\ No newline at end of file |
