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

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


Sign in to participate in this thread!


Your banner here too?


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

Your logo here?

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

© 2024 - All rights reserved.