{"action":"created","issue":{"url":"https://api.github.com/repos/InfyOmLabs/laravel-generator/issues/51","repository_url":"https://api.github.com/repos/InfyOmLabs/laravel-generator","labels_url":"https://api.github.com/repos/InfyOmLabs/laravel-generator/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/InfyOmLabs/laravel-generator/issues/51/comments","events_url":"https://api.github.com/repos/InfyOmLabs/laravel-generator/issues/51/events","html_url":"https://github.com/InfyOmLabs/laravel-generator/issues/51","id":138641709,"number":51,"title":"Can be assign relations? Or new feature?","user":{"login":"NightZpy","id":372232,"avatar_url":"https://avatars.githubusercontent.com/u/372232?v=3","gravatar_id":"","url":"https://api.github.com/users/NightZpy","html_url":"https://github.com/NightZpy","followers_url":"https://api.github.com/users/NightZpy/followers","following_url":"https://api.github.com/users/NightZpy/following{/other_user}","gists_url":"https://api.github.com/users/NightZpy/gists{/gist_id}","starred_url":"https://api.github.com/users/NightZpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NightZpy/subscriptions","organizations_url":"https://api.github.com/users/NightZpy/orgs","repos_url":"https://api.github.com/users/NightZpy/repos","events_url":"https://api.github.com/users/NightZpy/events{/privacy}","received_events_url":"https://api.github.com/users/NightZpy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/InfyOmLabs/laravel-generator/labels/feature","name":"feature","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-05T04:00:34Z","updated_at":"2016-03-05T04:05:14Z","closed_at":null,"body":"Would be good relations can be assigned by command or json!\r\n\r\nMaybe:  \r\n\r\n`php artisan infyom:scaffold Post --relations=\"hasMany(Comment), belongsTo(User)\"`\r\n\r\nOr\r\n\r\n`php artisan infyom:scaffold Post --hasMany=Comment --belongsTo=User`\r\n"},"comment":{"url":"https://api.github.com/repos/InfyOmLabs/laravel-generator/issues/comments/192565720","html_url":"https://github.com/InfyOmLabs/laravel-generator/issues/51#issuecomment-192565720","issue_url":"https://api.github.com/repos/InfyOmLabs/laravel-generator/issues/51","id":192565720,"user":{"login":"mitulgolakiya","id":1908535,"avatar_url":"https://avatars.githubusercontent.com/u/1908535?v=3","gravatar_id":"","url":"https://api.github.com/users/mitulgolakiya","html_url":"https://github.com/mitulgolakiya","followers_url":"https://api.github.com/users/mitulgolakiya/followers","following_url":"https://api.github.com/users/mitulgolakiya/following{/other_user}","gists_url":"https://api.github.com/users/mitulgolakiya/gists{/gist_id}","starred_url":"https://api.github.com/users/mitulgolakiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitulgolakiya/subscriptions","organizations_url":"https://api.github.com/users/mitulgolakiya/orgs","repos_url":"https://api.github.com/users/mitulgolakiya/repos","events_url":"https://api.github.com/users/mitulgolakiya/events{/privacy}","received_events_url":"https://api.github.com/users/mitulgolakiya/received_events","type":"User","site_admin":false},"created_at":"2016-03-05T04:05:14Z","updated_at":"2016-03-05T04:05:14Z","body":"We already have this on list."}}