How to create multiple notification files with separate notification tables for each notification file in Laravel 5.6

六月ゝ 毕业季﹏ 提交于 2020-01-25 06:08:37

问题


I am new to laravel. I have created a notification in laravel 5.6, I typed php artisan notifications:table, which created a notifications table. I then created a notification file by typing php artisan make:notification NewMessage, this created my notification file "NewMessage.php" inside the Notifications folder. This notification works fine for me.

Now I created another notification file "NewData.php" inside the Notifications folder. But now I want to make a separate notification table for it and connect this table with the new file NewData.php, so that the data meant for this file gets saved in the new database table. Any help is appreciated.

来源:https://stackoverflow.com/questions/52179100/how-to-create-multiple-notification-files-with-separate-notification-tables-for

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!