database notification change table and body
hi guys, i want to change the table of filament notifications and change the data
but couldn't find any resources
can i apply this feature ?
10 Replies
@cheesegrits
What do you want to change? You can just edit the migration file for your project if its not changing the default columns in any major way.
Changing the default filament notifications will probably result in a tons of errors, but depending on how huge the changes are you might only have to change the table using migrations normaly and override the Filament\Notifications\etc classes in the AppServiceProvider
e.g:
SomeNotificationClass::configureUsing(fn (SomeNotificationClass $action) => $notifcation->something());
@Mohamed Ayaou
actually the table has some changes, this is the table i want to use
So, until you just add new columns then and not changing the default behavior you should be fine, just extend the Notifications classes with the needed methods as well as the views after pubishing them
but you will face breaking changes issue
thank you, is there any resource i can use ?
i'm trying to solve it, but i'm facing this issues
@toeknee
can you help me with it ?
@Haydra please refresh yourself with the #✅┊rules . Tagging is not permitted without consent.
sorry i forgot about this, because the issue is urgent
Whilst I appreciate that, its out of the scope of free support. People are helping for free..
I don't think you should be using the notifications table the way you are, and you should probably create your own table. Then notify the users there is a new X to review, which links to the resource and the actions needed.
yes indeed we all really appreciate the work you do for helping other developers
thank you