{"action":"opened","issue":{"url":"https://api.github.com/repos/romanbican/roles/issues/181","repository_url":"https://api.github.com/repos/romanbican/roles","labels_url":"https://api.github.com/repos/romanbican/roles/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/romanbican/roles/issues/181/comments","events_url":"https://api.github.com/repos/romanbican/roles/issues/181/events","html_url":"https://github.com/romanbican/roles/issues/181","id":161694527,"number":181,"title":"Problems with entity permisstions","user":{"login":"Liar233","id":5318240,"avatar_url":"https://avatars.githubusercontent.com/u/5318240?v=3","gravatar_id":"","url":"https://api.github.com/users/Liar233","html_url":"https://github.com/Liar233","followers_url":"https://api.github.com/users/Liar233/followers","following_url":"https://api.github.com/users/Liar233/following{/other_user}","gists_url":"https://api.github.com/users/Liar233/gists{/gist_id}","starred_url":"https://api.github.com/users/Liar233/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Liar233/subscriptions","organizations_url":"https://api.github.com/users/Liar233/orgs","repos_url":"https://api.github.com/users/Liar233/repos","events_url":"https://api.github.com/users/Liar233/events{/privacy}","received_events_url":"https://api.github.com/users/Liar233/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-22T14:14:18Z","updated_at":"2016-06-22T14:14:18Z","closed_at":null,"body":"I'm tring to create permisstions for entities, but I have a problem in seeder.\r\n\r\n$taskCreateRole = Role::create([\r\n            'name' => 'Task Create',\r\n            'slug' => 'task.create',\r\n            'model' => 'App\\Task',\r\n        ]);\r\n\r\nWhen I'm tring to excute \"artisan db:seed --class=SeederClass\" I'm have error.\r\n\r\n[Illuminate\\Database\\QueryException]                                                                                                                                                                                                                       \r\n  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))  \r\n                                                                                                                                                                                                                                                             \r\n                                                                                \r\n  [PDOException]                                                                  \r\n  SQLSTATE[42S22]: Column not found: 1054 Unknown column 'model' in 'field list'\r\n"}}
{"actor":{"display_login":"Liar233"}}