Support the ongoing development of Laravel.io →
Laravel Notifications
Last updated by @ahmed-alaa-eldin 11 months ago.
0

you need to add some custom columns to the laravel notifications default migration files

firstly you need to run this command to generate the notification migration files php artisan notifications:table

then edit the migration file to add your custom columns, and create a Notification model for it. Don't forget to override the user notifications to use the new model

after that, you need need to override the database channel to automatically save you the data

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.