Deleting a whitelist entry, using web interface

When I delete an entry from the whitelist, using the web interface, the entry is removed from the table domainlist, however the corresponding entry in the table domainlist_by_group is NOT deleted. Doesn't that entry need to be removed. This may impact long term database performance and size, I think …

Thanks for your time and effort

Automatically regenerated by pihole?

I ran pihole -g, the obsolete entries remain in the database

Thanks for pointing this out, I will add a database trigger for this job (together with my change for your other question).

The gravity database is separate from the long term database, but yeah, sure.

https://github.com/pi-hole/pi-hole/pull/3089