{"action":"created","issue":{"url":"https://api.github.com/repos/Laravel-Backpack/Generators/issues/5","repository_url":"https://api.github.com/repos/Laravel-Backpack/Generators","labels_url":"https://api.github.com/repos/Laravel-Backpack/Generators/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Laravel-Backpack/Generators/issues/5/comments","events_url":"https://api.github.com/repos/Laravel-Backpack/Generators/issues/5/events","html_url":"https://github.com/Laravel-Backpack/Generators/issues/5","id":175243795,"number":5,"title":"Request: backpack:crud-model to generate migration","user":{"login":"OwenMelbz","id":1094740,"avatar_url":"https://avatars1.githubusercontent.com/u/1094740?v=3","gravatar_id":"","url":"https://api.github.com/users/OwenMelbz","html_url":"https://github.com/OwenMelbz","followers_url":"https://api.github.com/users/OwenMelbz/followers","following_url":"https://api.github.com/users/OwenMelbz/following{/other_user}","gists_url":"https://api.github.com/users/OwenMelbz/gists{/gist_id}","starred_url":"https://api.github.com/users/OwenMelbz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OwenMelbz/subscriptions","organizations_url":"https://api.github.com/users/OwenMelbz/orgs","repos_url":"https://api.github.com/users/OwenMelbz/repos","events_url":"https://api.github.com/users/OwenMelbz/events{/privacy}","received_events_url":"https://api.github.com/users/OwenMelbz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-06T13:14:15Z","updated_at":"2017-04-09T07:12:51Z","closed_at":"2016-12-05T12:26:32Z","body":"Love the work you've done so far, is much appreciated :)\n\nIm starting to have a little dig around, and wondered what the possibility of adding the migration creation to the model generation?\n\nFor example a normal artisan command would be `php artisan make:model Cake --migration` and you'd get a migration with it.\n\nWould this functionality be possible to add (or does it already exist?)\n\nMany thanks for your hard work.\n\nOwen\n"},"comment":{"url":"https://api.github.com/repos/Laravel-Backpack/Generators/issues/comments/292768954","html_url":"https://github.com/Laravel-Backpack/Generators/issues/5#issuecomment-292768954","issue_url":"https://api.github.com/repos/Laravel-Backpack/Generators/issues/5","id":292768954,"user":{"login":"tabacitu","id":1032474,"avatar_url":"https://avatars3.githubusercontent.com/u/1032474?v=3","gravatar_id":"","url":"https://api.github.com/users/tabacitu","html_url":"https://github.com/tabacitu","followers_url":"https://api.github.com/users/tabacitu/followers","following_url":"https://api.github.com/users/tabacitu/following{/other_user}","gists_url":"https://api.github.com/users/tabacitu/gists{/gist_id}","starred_url":"https://api.github.com/users/tabacitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tabacitu/subscriptions","organizations_url":"https://api.github.com/users/tabacitu/orgs","repos_url":"https://api.github.com/users/tabacitu/repos","events_url":"https://api.github.com/users/tabacitu/events{/privacy}","received_events_url":"https://api.github.com/users/tabacitu/received_events","type":"User","site_admin":false},"created_at":"2017-04-09T07:12:51Z","updated_at":"2017-04-09T07:12:51Z","body":"@b8ne - I agree with you that THAT is the next thing we should automate. My thought was for:\r\n- the generated migration to already have everything in fillable\r\n- the generated migration to already have the relationships defined\r\n- the generated controller to already have all fields added (instead of using ```setFromDb()```)"}}
{"actor":{"display_login":"tabacitu"}}