{"action":"closed","number":53,"pull_request":{"url":"https://api.github.com/repos/owl/owl/pulls/53","id":48684583,"html_url":"https://github.com/owl/owl/pull/53","diff_url":"https://github.com/owl/owl/pull/53.diff","patch_url":"https://github.com/owl/owl/pull/53.patch","issue_url":"https://api.github.com/repos/owl/owl/issues/53","number":53,"state":"closed","locked":false,"title":"アカウント管理機能","user":{"login":"fortkle","id":1576804,"avatar_url":"https://avatars.githubusercontent.com/u/1576804?v=3","gravatar_id":"","url":"https://api.github.com/users/fortkle","html_url":"https://github.com/fortkle","followers_url":"https://api.github.com/users/fortkle/followers","following_url":"https://api.github.com/users/fortkle/following{/other_user}","gists_url":"https://api.github.com/users/fortkle/gists{/gist_id}","starred_url":"https://api.github.com/users/fortkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fortkle/subscriptions","organizations_url":"https://api.github.com/users/fortkle/orgs","repos_url":"https://api.github.com/users/fortkle/repos","events_url":"https://api.github.com/users/fortkle/events{/privacy}","received_events_url":"https://api.github.com/users/fortkle/received_events","type":"User","site_admin":false},"body":"issue\r\n#51 \r\n\r\n移行にはマイグレーションとシードの実行が必要\r\n\r\n```\r\n$ php artisan migrate\r\n$ php artisan db:seed --class UserRoleTableSeeder\r\n```\r\n\r\nまた、通常はadminユーザーが最初の1人目のOwnerとなるが\r\nこのPR以前に作成されたデータベースだとOwnerが存在しない。\r\nその場合は、 `/user/role/initial` から1人目のOwnerを作成することができる（要ログイン）\r\n","created_at":"2015-10-25T18:41:24Z","updated_at":"2015-10-25T18:43:47Z","closed_at":"2015-10-25T18:43:47Z","merged_at":"2015-10-25T18:43:47Z","merge_commit_sha":"7548a0a831a82c3f53b340d93007d9d7405719ab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/owl/owl/pulls/53/commits","review_comments_url":"https://api.github.com/repos/owl/owl/pulls/53/comments","review_comment_url":"https://api.github.com/repos/owl/owl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/owl/owl/issues/53/comments","statuses_url":"https://api.github.com/repos/owl/owl/statuses/95b93e103ec5131dc5aa8aeb93df4789896ccd6c","head":{"label":"owl:feature-member-admin","ref":"feature-member-admin","sha":"95b93e103ec5131dc5aa8aeb93df4789896ccd6c","user":{"login":"owl","id":13842653,"avatar_url":"https://avatars.githubusercontent.com/u/13842653?v=3","gravatar_id":"","url":"https://api.github.com/users/owl","html_url":"https://github.com/owl","followers_url":"https://api.github.com/users/owl/followers","following_url":"https://api.github.com/users/owl/following{/other_user}","gists_url":"https://api.github.com/users/owl/gists{/gist_id}","starred_url":"https://api.github.com/users/owl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owl/subscriptions","organizations_url":"https://api.github.com/users/owl/orgs","repos_url":"https://api.github.com/users/owl/repos","events_url":"https://api.github.com/users/owl/events{/privacy}","received_events_url":"https://api.github.com/users/owl/received_events","type":"Organization","site_admin":false},"repo":{"id":22977465,"name":"owl","full_name":"owl/owl","owner":{"login":"owl","id":13842653,"avatar_url":"https://avatars.githubusercontent.com/u/13842653?v=3","gravatar_id":"","url":"https://api.github.com/users/owl","html_url":"https://github.com/owl","followers_url":"https://api.github.com/users/owl/followers","following_url":"https://api.github.com/users/owl/following{/other_user}","gists_url":"https://api.github.com/users/owl/gists{/gist_id}","starred_url":"https://api.github.com/users/owl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owl/subscriptions","organizations_url":"https://api.github.com/users/owl/orgs","repos_url":"https://api.github.com/users/owl/repos","events_url":"https://api.github.com/users/owl/events{/privacy}","received_events_url":"https://api.github.com/users/owl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owl/owl","description":"Owl is a simple collaboration tool.","fork":false,"url":"https://api.github.com/repos/owl/owl","forks_url":"https://api.github.com/repos/owl/owl/forks","keys_url":"https://api.github.com/repos/owl/owl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owl/owl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owl/owl/teams","hooks_url":"https://api.github.com/repos/owl/owl/hooks","issue_events_url":"https://api.github.com/repos/owl/owl/issues/events{/number}","events_url":"https://api.github.com/repos/owl/owl/events","assignees_url":"https://api.github.com/repos/owl/owl/assignees{/user}","branches_url":"https://api.github.com/repos/owl/owl/branches{/branch}","tags_url":"https://api.github.com/repos/owl/owl/tags","blobs_url":"https://api.github.com/repos/owl/owl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owl/owl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owl/owl/git/refs{/sha}","trees_url":"https://api.github.com/repos/owl/owl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owl/owl/statuses/{sha}","languages_url":"https://api.github.com/repos/owl/owl/languages","stargazers_url":"https://api.github.com/repos/owl/owl/stargazers","contributors_url":"https://api.github.com/repos/owl/owl/contributors","subscribers_url":"https://api.github.com/repos/owl/owl/subscribers","subscription_url":"https://api.github.com/repos/owl/owl/subscription","commits_url":"https://api.github.com/repos/owl/owl/commits{/sha}","git_commits_url":"https://api.github.com/repos/owl/owl/git/commits{/sha}","comments_url":"https://api.github.com/repos/owl/owl/comments{/number}","issue_comment_url":"https://api.github.com/repos/owl/owl/issues/comments{/number}","contents_url":"https://api.github.com/repos/owl/owl/contents/{+path}","compare_url":"https://api.github.com/repos/owl/owl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owl/owl/merges","archive_url":"https://api.github.com/repos/owl/owl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owl/owl/downloads","issues_url":"https://api.github.com/repos/owl/owl/issues{/number}","pulls_url":"https://api.github.com/repos/owl/owl/pulls{/number}","milestones_url":"https://api.github.com/repos/owl/owl/milestones{/number}","notifications_url":"https://api.github.com/repos/owl/owl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owl/owl/labels{/name}","releases_url":"https://api.github.com/repos/owl/owl/releases{/id}","created_at":"2014-08-15T03:33:43Z","updated_at":"2015-10-16T07:30:49Z","pushed_at":"2015-10-25T18:43:47Z","git_url":"git://github.com/owl/owl.git","ssh_url":"git@github.com:owl/owl.git","clone_url":"https://github.com/owl/owl.git","svn_url":"https://github.com/owl/owl","homepage":null,"size":1871,"stargazers_count":24,"watchers_count":24,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":19,"forks":11,"open_issues":19,"watchers":24,"default_branch":"master"}},"base":{"label":"owl:master","ref":"master","sha":"e10d790cd3dc8b6a2a7e821134f613e1e7cd4978","user":{"login":"owl","id":13842653,"avatar_url":"https://avatars.githubusercontent.com/u/13842653?v=3","gravatar_id":"","url":"https://api.github.com/users/owl","html_url":"https://github.com/owl","followers_url":"https://api.github.com/users/owl/followers","following_url":"https://api.github.com/users/owl/following{/other_user}","gists_url":"https://api.github.com/users/owl/gists{/gist_id}","starred_url":"https://api.github.com/users/owl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owl/subscriptions","organizations_url":"https://api.github.com/users/owl/orgs","repos_url":"https://api.github.com/users/owl/repos","events_url":"https://api.github.com/users/owl/events{/privacy}","received_events_url":"https://api.github.com/users/owl/received_events","type":"Organization","site_admin":false},"repo":{"id":22977465,"name":"owl","full_name":"owl/owl","owner":{"login":"owl","id":13842653,"avatar_url":"https://avatars.githubusercontent.com/u/13842653?v=3","gravatar_id":"","url":"https://api.github.com/users/owl","html_url":"https://github.com/owl","followers_url":"https://api.github.com/users/owl/followers","following_url":"https://api.github.com/users/owl/following{/other_user}","gists_url":"https://api.github.com/users/owl/gists{/gist_id}","starred_url":"https://api.github.com/users/owl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owl/subscriptions","organizations_url":"https://api.github.com/users/owl/orgs","repos_url":"https://api.github.com/users/owl/repos","events_url":"https://api.github.com/users/owl/events{/privacy}","received_events_url":"https://api.github.com/users/owl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owl/owl","description":"Owl is a simple collaboration tool.","fork":false,"url":"https://api.github.com/repos/owl/owl","forks_url":"https://api.github.com/repos/owl/owl/forks","keys_url":"https://api.github.com/repos/owl/owl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owl/owl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owl/owl/teams","hooks_url":"https://api.github.com/repos/owl/owl/hooks","issue_events_url":"https://api.github.com/repos/owl/owl/issues/events{/number}","events_url":"https://api.github.com/repos/owl/owl/events","assignees_url":"https://api.github.com/repos/owl/owl/assignees{/user}","branches_url":"https://api.github.com/repos/owl/owl/branches{/branch}","tags_url":"https://api.github.com/repos/owl/owl/tags","blobs_url":"https://api.github.com/repos/owl/owl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owl/owl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owl/owl/git/refs{/sha}","trees_url":"https://api.github.com/repos/owl/owl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owl/owl/statuses/{sha}","languages_url":"https://api.github.com/repos/owl/owl/languages","stargazers_url":"https://api.github.com/repos/owl/owl/stargazers","contributors_url":"https://api.github.com/repos/owl/owl/contributors","subscribers_url":"https://api.github.com/repos/owl/owl/subscribers","subscription_url":"https://api.github.com/repos/owl/owl/subscription","commits_url":"https://api.github.com/repos/owl/owl/commits{/sha}","git_commits_url":"https://api.github.com/repos/owl/owl/git/commits{/sha}","comments_url":"https://api.github.com/repos/owl/owl/comments{/number}","issue_comment_url":"https://api.github.com/repos/owl/owl/issues/comments{/number}","contents_url":"https://api.github.com/repos/owl/owl/contents/{+path}","compare_url":"https://api.github.com/repos/owl/owl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owl/owl/merges","archive_url":"https://api.github.com/repos/owl/owl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owl/owl/downloads","issues_url":"https://api.github.com/repos/owl/owl/issues{/number}","pulls_url":"https://api.github.com/repos/owl/owl/pulls{/number}","milestones_url":"https://api.github.com/repos/owl/owl/milestones{/number}","notifications_url":"https://api.github.com/repos/owl/owl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owl/owl/labels{/name}","releases_url":"https://api.github.com/repos/owl/owl/releases{/id}","created_at":"2014-08-15T03:33:43Z","updated_at":"2015-10-16T07:30:49Z","pushed_at":"2015-10-25T18:43:47Z","git_url":"git://github.com/owl/owl.git","ssh_url":"git@github.com:owl/owl.git","clone_url":"https://github.com/owl/owl.git","svn_url":"https://github.com/owl/owl","homepage":null,"size":1871,"stargazers_count":24,"watchers_count":24,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":19,"forks":11,"open_issues":19,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/owl/owl/pulls/53"},"html":{"href":"https://github.com/owl/owl/pull/53"},"issue":{"href":"https://api.github.com/repos/owl/owl/issues/53"},"comments":{"href":"https://api.github.com/repos/owl/owl/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/owl/owl/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/owl/owl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/owl/owl/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/owl/owl/statuses/95b93e103ec5131dc5aa8aeb93df4789896ccd6c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"fortkle","id":1576804,"avatar_url":"https://avatars.githubusercontent.com/u/1576804?v=3","gravatar_id":"","url":"https://api.github.com/users/fortkle","html_url":"https://github.com/fortkle","followers_url":"https://api.github.com/users/fortkle/followers","following_url":"https://api.github.com/users/fortkle/following{/other_user}","gists_url":"https://api.github.com/users/fortkle/gists{/gist_id}","starred_url":"https://api.github.com/users/fortkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fortkle/subscriptions","organizations_url":"https://api.github.com/users/fortkle/orgs","repos_url":"https://api.github.com/users/fortkle/repos","events_url":"https://api.github.com/users/fortkle/events{/privacy}","received_events_url":"https://api.github.com/users/fortkle/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":603,"deletions":16,"changed_files":27}}