{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/16491","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/16491/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/16491/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/16491/events","html_url":"https://github.com/laravel/framework/issues/16491","id":190810311,"number":16491,"title":"Inappropriate migration file 'people' created instead of 'person'","user":{"login":"mnrahimi","id":22196871,"avatar_url":"https://avatars.githubusercontent.com/u/22196871?v=3","gravatar_id":"","url":"https://api.github.com/users/mnrahimi","html_url":"https://github.com/mnrahimi","followers_url":"https://api.github.com/users/mnrahimi/followers","following_url":"https://api.github.com/users/mnrahimi/following{/other_user}","gists_url":"https://api.github.com/users/mnrahimi/gists{/gist_id}","starred_url":"https://api.github.com/users/mnrahimi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnrahimi/subscriptions","organizations_url":"https://api.github.com/users/mnrahimi/orgs","repos_url":"https://api.github.com/users/mnrahimi/repos","events_url":"https://api.github.com/users/mnrahimi/events{/privacy}","received_events_url":"https://api.github.com/users/mnrahimi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-21T19:19:22Z","updated_at":"2016-11-21T19:27:18Z","closed_at":null,"body":"- Laravel Version: 5.3.23\r\n- PHP Version: 5.6.26\r\n\r\n### Description:\r\nWhile I tried to make a new model `Person` and let laravel to produce its migration file for me it produced a file `2016_11_21_190948_create_people_table.php` for table `people` which is incompatible with my new model `Person`.\r\n\r\n### Steps To Reproduce:\r\nRun the following command from within a fresh installed Laravel project directory: `php artisan make:model Person -m` then look at the file `database/migrations/#_#_#_#_create_people_table.php`."},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/262040789","html_url":"https://github.com/laravel/framework/issues/16491#issuecomment-262040789","issue_url":"https://api.github.com/repos/laravel/framework/issues/16491","id":262040789,"user":{"login":"fernandobandeira","id":8373980,"avatar_url":"https://avatars.githubusercontent.com/u/8373980?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandobandeira","html_url":"https://github.com/fernandobandeira","followers_url":"https://api.github.com/users/fernandobandeira/followers","following_url":"https://api.github.com/users/fernandobandeira/following{/other_user}","gists_url":"https://api.github.com/users/fernandobandeira/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandobandeira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandobandeira/subscriptions","organizations_url":"https://api.github.com/users/fernandobandeira/orgs","repos_url":"https://api.github.com/users/fernandobandeira/repos","events_url":"https://api.github.com/users/fernandobandeira/events{/privacy}","received_events_url":"https://api.github.com/users/fernandobandeira/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T19:27:18Z","updated_at":"2016-11-21T19:27:18Z","body":"Yep Laravel pluralizes the table and leaves your model on singular thats the default behavior and your model should be working as expected."}}
{"actor":{"display_login":"fernandobandeira"}}