© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•13mo ago•
3 replies
bernhard

Categorize database notifications

I am using Filament notifications for my admin panel, as well as for the frontend.

Now I am writing a cronjob, to delete old notifications. But they should have different prune times. For example the ones from frontend 7 days, the one from panel 30 days, etc.
Is there a way for me to categorize the notification (when sending it) so that I can handle it differently when deleting it?

And bonus question: What is the "type" in the
notifications
notifications
tabelle good for? Its always
Filament\Notifications\DatabaseNotification
Filament\Notifications\DatabaseNotification
Solution
You would need to extend the notifications table and add panel. then from the panel set a sefault i.e.frontend and then one 'admin' etc.
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Database notifications
FilamentFFilament / ❓┊help
2y ago
Database notifications toast
FilamentFFilament / ❓┊help
3mo ago
Database notifications & tenancy
FilamentFFilament / ❓┊help
17mo ago
Notifications Database Connection
FilamentFFilament / ❓┊help
2y ago