Notifications autoclean (issue to request)


#1

Hi, I make a feedback about my open issue on Github.

I think it’s the consequence too my users & I never hit the notification bell.
So notifications records piled up inside my sqlite file.

  1. Can you give me an SQL queries with which I can clean all notifications table ? (if no, I understand and will RTFM)
  2. But it’ll be an improvement to have a notifications autoclean system ?

Many thanks for your work.

EDIT:

  • the user_has_unread_notifications table has 12610 lines
  • empty the user_has_unread_notifications table
  • db.sqlite file drop from 41.2Mo to 17.8Mo