so i wanna create notification in laravel but this error occur
"Array to string conversion (SQL: insert into
admin_notifications(id,type,data,notifiable_id,notifiable_type,updated_at,created_at) values ▶"
this is my model
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\DatabaseNotification;
class admin_notification extends Model
{
protected $table = 'admin_notifications';
protected $fillable = ['id','type','data'];
}
thank you
from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2EutdhD
via IFTTT
Aucun commentaire:
Enregistrer un commentaire