You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.
I'm tring to create permisstions for entities, but I have a problem in seeder.
$taskCreateRole = Role::create([
'name' => 'Task Create',
'slug' => 'task.create',
'model' => 'App\Task',
]);
When I'm tring to excute "artisan db:seed --class=SeederClass" I'm have error.
[Illuminate\Database\QueryException]
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'model' in 'field list' (SQL: insert into
roles
(name
,slug
,model
,updated_at
,created_at
) values (Task Create, task.create, App\Task, 2016-06-22 13:50:21, 2016-06-22 13:50:21))[PDOException]
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'model' in 'field list'
The text was updated successfully, but these errors were encountered: