mercredi 7 février 2018

Can I Associate a Model to the notifications table in laravel?

I have been working on notifications and was getting through it pretty quickly unless I felt the need of deleting and relating a notification to a Post, is there any way I can associate a Model to the notifications table? I thought of using the $table property found in the model after creating the notification model.

Edit: Or can I delete a notification when a post is deleted?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire