{"action":"opened","issue":{"url":"https://api.github.com/repos/slow-is-fast/blog/issues/245","repository_url":"https://api.github.com/repos/slow-is-fast/blog","labels_url":"https://api.github.com/repos/slow-is-fast/blog/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/slow-is-fast/blog/issues/245/comments","events_url":"https://api.github.com/repos/slow-is-fast/blog/issues/245/events","html_url":"https://github.com/slow-is-fast/blog/issues/245","id":331066214,"node_id":"MDU6SXNzdWUzMzEwNjYyMTQ=","number":245,"title":"laravel migration fails","user":{"login":"slow-is-fast","id":19770606,"node_id":"MDQ6VXNlcjE5NzcwNjA2","avatar_url":"https://avatars0.githubusercontent.com/u/19770606?v=4","gravatar_id":"","url":"https://api.github.com/users/slow-is-fast","html_url":"https://github.com/slow-is-fast","followers_url":"https://api.github.com/users/slow-is-fast/followers","following_url":"https://api.github.com/users/slow-is-fast/following{/other_user}","gists_url":"https://api.github.com/users/slow-is-fast/gists{/gist_id}","starred_url":"https://api.github.com/users/slow-is-fast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slow-is-fast/subscriptions","organizations_url":"https://api.github.com/users/slow-is-fast/orgs","repos_url":"https://api.github.com/users/slow-is-fast/repos","events_url":"https://api.github.com/users/slow-is-fast/events{/privacy}","received_events_url":"https://api.github.com/users/slow-is-fast/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-11T06:59:35Z","updated_at":"2018-06-11T06:59:35Z","closed_at":null,"author_association":"OWNER","body":"PDOException::(\"SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes\")\r\n\r\n\r\n修改AppServiceProvider.php\r\n```php\r\nuse Illuminate\\Support\\Facades\\Schema;\r\n\r\npublic function boot()\r\n{\r\n    Schema::defaultStringLength(191);\r\n}\r\n```"}}
{"actor":{"display_login":"slow-is-fast"}}