{"action":"created","issue":{"url":"https://api.github.com/repos/spatie/laravel-model-status/issues/20","repository_url":"https://api.github.com/repos/spatie/laravel-model-status","labels_url":"https://api.github.com/repos/spatie/laravel-model-status/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/spatie/laravel-model-status/issues/20/comments","events_url":"https://api.github.com/repos/spatie/laravel-model-status/issues/20/events","html_url":"https://github.com/spatie/laravel-model-status/issues/20","id":296746408,"number":20,"title":"Adding an index to the status for faster retrieval","user":{"login":"karllhughes","id":1103622,"avatar_url":"https://avatars3.githubusercontent.com/u/1103622?v=4","gravatar_id":"","url":"https://api.github.com/users/karllhughes","html_url":"https://github.com/karllhughes","followers_url":"https://api.github.com/users/karllhughes/followers","following_url":"https://api.github.com/users/karllhughes/following{/other_user}","gists_url":"https://api.github.com/users/karllhughes/gists{/gist_id}","starred_url":"https://api.github.com/users/karllhughes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karllhughes/subscriptions","organizations_url":"https://api.github.com/users/karllhughes/orgs","repos_url":"https://api.github.com/users/karllhughes/repos","events_url":"https://api.github.com/users/karllhughes/events{/privacy}","received_events_url":"https://api.github.com/users/karllhughes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-13T13:59:06Z","updated_at":"2018-02-19T11:15:04Z","closed_at":"2018-02-13T22:28:04Z","author_association":"NONE","body":"Hey spatie team,\r\nLove y'all's Laravel work. Any interest or thought on indexing the status column? Is that something you want to leave to users to do or should this package implement it?\r\n\r\nI'm just concerned that looking up my model by status could get slow if I have lots of statuses."},"comment":{"url":"https://api.github.com/repos/spatie/laravel-model-status/issues/comments/366659221","html_url":"https://github.com/spatie/laravel-model-status/issues/20#issuecomment-366659221","issue_url":"https://api.github.com/repos/spatie/laravel-model-status/issues/20","id":366659221,"user":{"login":"shez1983","id":3440597,"avatar_url":"https://avatars3.githubusercontent.com/u/3440597?v=4","gravatar_id":"","url":"https://api.github.com/users/shez1983","html_url":"https://github.com/shez1983","followers_url":"https://api.github.com/users/shez1983/followers","following_url":"https://api.github.com/users/shez1983/following{/other_user}","gists_url":"https://api.github.com/users/shez1983/gists{/gist_id}","starred_url":"https://api.github.com/users/shez1983/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shez1983/subscriptions","organizations_url":"https://api.github.com/users/shez1983/orgs","repos_url":"https://api.github.com/users/shez1983/repos","events_url":"https://api.github.com/users/shez1983/events{/privacy}","received_events_url":"https://api.github.com/users/shez1983/received_events","type":"User","site_admin":false},"created_at":"2018-02-19T11:15:04Z","updated_at":"2018-02-19T11:15:04Z","author_association":"NONE","body":"but i think you should add the index in your migration file.. why? because most people would not be aware of this and you want to show 'best practices'.. also one less thing for the user :) \r\n\r\nbut again thanks for the awesome packages...  (while i am here, I would also state that tehre should be  a migration table example ie whats created in your README.. i can do a pull request when I install it in my own laravel project if you havent done so already)"}}
{"actor":{"display_login":"shez1983"}}