{"action":"created","issue":{"url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/84","labels_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/84/comments","events_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/84/events","html_url":"https://github.com/cmgmyr/laravel-messenger/issues/84","id":110010026,"number":84,"title":"Remove Foreign Keys Error","user":{"login":"mmeindl","id":12703797,"avatar_url":"https://avatars.githubusercontent.com/u/12703797?v=3","gravatar_id":"","url":"https://api.github.com/users/mmeindl","html_url":"https://github.com/mmeindl","followers_url":"https://api.github.com/users/mmeindl/followers","following_url":"https://api.github.com/users/mmeindl/following{/other_user}","gists_url":"https://api.github.com/users/mmeindl/gists{/gist_id}","starred_url":"https://api.github.com/users/mmeindl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmeindl/subscriptions","organizations_url":"https://api.github.com/users/mmeindl/orgs","repos_url":"https://api.github.com/users/mmeindl/repos","events_url":"https://api.github.com/users/mmeindl/events{/privacy}","received_events_url":"https://api.github.com/users/mmeindl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-06T13:39:48Z","updated_at":"2015-10-06T14:54:59Z","closed_at":"2015-10-06T14:08:48Z","body":"Hey, I have Laravel 5.0 and the latest version of your messenger. To install your messenger i did everything step by step as you said but when I do \"php artisan migrate\" I get that error:\r\n\r\n[Illuminate\\Database\\QueryException]\r\nSQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP 'messages_thread_id_foreign'; check that column/key exists (SQL: alter table `messages` drop foreign key messages_thread_id_foreign)\r\n\r\nCan you tell me how to fix that?"},"comment":{"url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/comments/145883245","html_url":"https://github.com/cmgmyr/laravel-messenger/issues/84#issuecomment-145883245","issue_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/84","id":145883245,"user":{"login":"cmgmyr","id":4693481,"avatar_url":"https://avatars.githubusercontent.com/u/4693481?v=3","gravatar_id":"","url":"https://api.github.com/users/cmgmyr","html_url":"https://github.com/cmgmyr","followers_url":"https://api.github.com/users/cmgmyr/followers","following_url":"https://api.github.com/users/cmgmyr/following{/other_user}","gists_url":"https://api.github.com/users/cmgmyr/gists{/gist_id}","starred_url":"https://api.github.com/users/cmgmyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmgmyr/subscriptions","organizations_url":"https://api.github.com/users/cmgmyr/orgs","repos_url":"https://api.github.com/users/cmgmyr/repos","events_url":"https://api.github.com/users/cmgmyr/events{/privacy}","received_events_url":"https://api.github.com/users/cmgmyr/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T14:54:59Z","updated_at":"2015-10-06T14:54:59Z","body":"hmm, maybe a `composer dumpautoload` would work? That file should still be in your migrations directory"}}