{"action":"created","comment":{"url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/pulls/comments/238160912","pull_request_review_id":180632324,"id":238160912,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODE2MDkxMg==","diff_hunk":"@@ -1,24 +1,163 @@\n-# README\n+## users-table\n+|Column|Type|Options|\n+|------|----|-------|\n+|nickname|string|null: false, maximam_length: 20|\n+|e_mail|string|null: false, unique: true|\n+|password|string|null: false|\n \n-This README would normally document whatever steps are necessary to get the\n-application up and running.\n+### Association\n+- has_one :credit_card\n+- has_one :user_info\n+- has_many :sns_credentials\n+- has_many :items\n+- has_many :likes\n+- has_many :comments\n+- has_many :user_reviews","path":"README.md","position":18,"original_position":18,"commit_id":"e6cc660c77fce6b76cc25ae0491e07b1127c9839","original_commit_id":"e6cc660c77fce6b76cc25ae0491e07b1127c9839","user":{"login":"yutakatahira","id":22128119,"node_id":"MDQ6VXNlcjIyMTI4MTE5","avatar_url":"https://avatars3.githubusercontent.com/u/22128119?v=4","gravatar_id":"","url":"https://api.github.com/users/yutakatahira","html_url":"https://github.com/yutakatahira","followers_url":"https://api.github.com/users/yutakatahira/followers","following_url":"https://api.github.com/users/yutakatahira/following{/other_user}","gists_url":"https://api.github.com/users/yutakatahira/gists{/gist_id}","starred_url":"https://api.github.com/users/yutakatahira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yutakatahira/subscriptions","organizations_url":"https://api.github.com/users/yutakatahira/orgs","repos_url":"https://api.github.com/users/yutakatahira/repos","events_url":"https://api.github.com/users/yutakatahira/events{/privacy}","received_events_url":"https://api.github.com/users/yutakatahira/received_events","type":"User","site_admin":false},"body":"全体的に言えますが、dependent: :destroyをつけた方が良い箇所があるので、調べてみましょう！","created_at":"2018-12-03T07:09:29Z","updated_at":"2018-12-03T07:29:50Z","html_url":"https://github.com/hrmitu/freemarket_sample_39c/pull/3#discussion_r238160912","pull_request_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/pulls/3","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/pulls/comments/238160912"},"html":{"href":"https://github.com/hrmitu/freemarket_sample_39c/pull/3#discussion_r238160912"},"pull_request":{"href":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/pulls/3","id":235340948,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1MzQwOTQ4","html_url":"https://github.com/hrmitu/freemarket_sample_39c/pull/3","diff_url":"https://github.com/hrmitu/freemarket_sample_39c/pull/3.diff","patch_url":"https://github.com/hrmitu/freemarket_sample_39c/pull/3.patch","issue_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/issues/3","number":3,"state":"open","locked":false,"title":"Edit readme","user":{"login":"chikako-LLB","id":43940694,"node_id":"MDQ6VXNlcjQzOTQwNjk0","avatar_url":"https://avatars2.githubusercontent.com/u/43940694?v=4","gravatar_id":"","url":"https://api.github.com/users/chikako-LLB","html_url":"https://github.com/chikako-LLB","followers_url":"https://api.github.com/users/chikako-LLB/followers","following_url":"https://api.github.com/users/chikako-LLB/following{/other_user}","gists_url":"https://api.github.com/users/chikako-LLB/gists{/gist_id}","starred_url":"https://api.github.com/users/chikako-LLB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chikako-LLB/subscriptions","organizations_url":"https://api.github.com/users/chikako-LLB/orgs","repos_url":"https://api.github.com/users/chikako-LLB/repos","events_url":"https://api.github.com/users/chikako-LLB/events{/privacy}","received_events_url":"https://api.github.com/users/chikako-LLB/received_events","type":"User","site_admin":false},"body":"# What \r\nedit README\r\n\r\n# Why\r\nWe separated some columns from users-table, and items-table.\r\nAlso, fixed typo.","created_at":"2018-12-03T06:38:49Z","updated_at":"2018-12-03T07:29:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"88924a919cb41c7c0758f9cf6e90fc759be7e40e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/pulls/3/commits","review_comments_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/pulls/3/comments","review_comment_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/issues/3/comments","statuses_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/statuses/e6cc660c77fce6b76cc25ae0491e07b1127c9839","head":{"label":"chikako-LLB:Edit_README","ref":"Edit_README","sha":"e6cc660c77fce6b76cc25ae0491e07b1127c9839","user":{"login":"chikako-LLB","id":43940694,"node_id":"MDQ6VXNlcjQzOTQwNjk0","avatar_url":"https://avatars2.githubusercontent.com/u/43940694?v=4","gravatar_id":"","url":"https://api.github.com/users/chikako-LLB","html_url":"https://github.com/chikako-LLB","followers_url":"https://api.github.com/users/chikako-LLB/followers","following_url":"https://api.github.com/users/chikako-LLB/following{/other_user}","gists_url":"https://api.github.com/users/chikako-LLB/gists{/gist_id}","starred_url":"https://api.github.com/users/chikako-LLB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chikako-LLB/subscriptions","organizations_url":"https://api.github.com/users/chikako-LLB/orgs","repos_url":"https://api.github.com/users/chikako-LLB/repos","events_url":"https://api.github.com/users/chikako-LLB/events{/privacy}","received_events_url":"https://api.github.com/users/chikako-LLB/received_events","type":"User","site_admin":false},"repo":{"id":160045089,"node_id":"MDEwOlJlcG9zaXRvcnkxNjAwNDUwODk=","name":"freemarket_sample_39c","full_name":"chikako-LLB/freemarket_sample_39c","private":false,"owner":{"login":"chikako-LLB","id":43940694,"node_id":"MDQ6VXNlcjQzOTQwNjk0","avatar_url":"https://avatars2.githubusercontent.com/u/43940694?v=4","gravatar_id":"","url":"https://api.github.com/users/chikako-LLB","html_url":"https://github.com/chikako-LLB","followers_url":"https://api.github.com/users/chikako-LLB/followers","following_url":"https://api.github.com/users/chikako-LLB/following{/other_user}","gists_url":"https://api.github.com/users/chikako-LLB/gists{/gist_id}","starred_url":"https://api.github.com/users/chikako-LLB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chikako-LLB/subscriptions","organizations_url":"https://api.github.com/users/chikako-LLB/orgs","repos_url":"https://api.github.com/users/chikako-LLB/repos","events_url":"https://api.github.com/users/chikako-LLB/events{/privacy}","received_events_url":"https://api.github.com/users/chikako-LLB/received_events","type":"User","site_admin":false},"html_url":"https://github.com/chikako-LLB/freemarket_sample_39c","description":null,"fork":true,"url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c","forks_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/forks","keys_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/teams","hooks_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/hooks","issue_events_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/issues/events{/number}","events_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/events","assignees_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/assignees{/user}","branches_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/branches{/branch}","tags_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/tags","blobs_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/git/refs{/sha}","trees_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/statuses/{sha}","languages_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/languages","stargazers_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/stargazers","contributors_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/contributors","subscribers_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/subscribers","subscription_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/subscription","commits_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/commits{/sha}","git_commits_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/git/commits{/sha}","comments_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/comments{/number}","issue_comment_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/issues/comments{/number}","contents_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/contents/{+path}","compare_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/merges","archive_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/downloads","issues_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/issues{/number}","pulls_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/pulls{/number}","milestones_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/milestones{/number}","notifications_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/labels{/name}","releases_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/releases{/id}","deployments_url":"https://api.github.com/repos/chikako-LLB/freemarket_sample_39c/deployments","created_at":"2018-12-02T12:30:13Z","updated_at":"2018-12-02T12:30:16Z","pushed_at":"2018-12-03T06:42:33Z","git_url":"git://github.com/chikako-LLB/freemarket_sample_39c.git","ssh_url":"git@github.com:chikako-LLB/freemarket_sample_39c.git","clone_url":"https://github.com/chikako-LLB/freemarket_sample_39c.git","svn_url":"https://github.com/chikako-LLB/freemarket_sample_39c","homepage":null,"size":33,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hrmitu:master","ref":"master","sha":"d5104dd264dc4be49b77663f3118e7f88972c9b9","user":{"login":"hrmitu","id":43209231,"node_id":"MDQ6VXNlcjQzMjA5MjMx","avatar_url":"https://avatars3.githubusercontent.com/u/43209231?v=4","gravatar_id":"","url":"https://api.github.com/users/hrmitu","html_url":"https://github.com/hrmitu","followers_url":"https://api.github.com/users/hrmitu/followers","following_url":"https://api.github.com/users/hrmitu/following{/other_user}","gists_url":"https://api.github.com/users/hrmitu/gists{/gist_id}","starred_url":"https://api.github.com/users/hrmitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hrmitu/subscriptions","organizations_url":"https://api.github.com/users/hrmitu/orgs","repos_url":"https://api.github.com/users/hrmitu/repos","events_url":"https://api.github.com/users/hrmitu/events{/privacy}","received_events_url":"https://api.github.com/users/hrmitu/received_events","type":"User","site_admin":false},"repo":{"id":160010649,"node_id":"MDEwOlJlcG9zaXRvcnkxNjAwMTA2NDk=","name":"freemarket_sample_39c","full_name":"hrmitu/freemarket_sample_39c","private":false,"owner":{"login":"hrmitu","id":43209231,"node_id":"MDQ6VXNlcjQzMjA5MjMx","avatar_url":"https://avatars3.githubusercontent.com/u/43209231?v=4","gravatar_id":"","url":"https://api.github.com/users/hrmitu","html_url":"https://github.com/hrmitu","followers_url":"https://api.github.com/users/hrmitu/followers","following_url":"https://api.github.com/users/hrmitu/following{/other_user}","gists_url":"https://api.github.com/users/hrmitu/gists{/gist_id}","starred_url":"https://api.github.com/users/hrmitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hrmitu/subscriptions","organizations_url":"https://api.github.com/users/hrmitu/orgs","repos_url":"https://api.github.com/users/hrmitu/repos","events_url":"https://api.github.com/users/hrmitu/events{/privacy}","received_events_url":"https://api.github.com/users/hrmitu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/hrmitu/freemarket_sample_39c","description":null,"fork":false,"url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c","forks_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/forks","keys_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/teams","hooks_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/hooks","issue_events_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/issues/events{/number}","events_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/events","assignees_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/assignees{/user}","branches_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/branches{/branch}","tags_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/tags","blobs_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/git/refs{/sha}","trees_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/statuses/{sha}","languages_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/languages","stargazers_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/stargazers","contributors_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/contributors","subscribers_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/subscribers","subscription_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/subscription","commits_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/commits{/sha}","git_commits_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/git/commits{/sha}","comments_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/comments{/number}","issue_comment_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/issues/comments{/number}","contents_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/contents/{+path}","compare_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/merges","archive_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/downloads","issues_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/issues{/number}","pulls_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/pulls{/number}","milestones_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/milestones{/number}","notifications_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/labels{/name}","releases_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/releases{/id}","deployments_url":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/deployments","created_at":"2018-12-02T03:40:40Z","updated_at":"2018-12-03T06:12:00Z","pushed_at":"2018-12-03T06:38:49Z","git_url":"git://github.com/hrmitu/freemarket_sample_39c.git","ssh_url":"git@github.com:hrmitu/freemarket_sample_39c.git","clone_url":"https://github.com/hrmitu/freemarket_sample_39c.git","svn_url":"https://github.com/hrmitu/freemarket_sample_39c","homepage":null,"size":33,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/pulls/3"},"html":{"href":"https://github.com/hrmitu/freemarket_sample_39c/pull/3"},"issue":{"href":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/issues/3"},"comments":{"href":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/hrmitu/freemarket_sample_39c/statuses/e6cc660c77fce6b76cc25ae0491e07b1127c9839"}},"author_association":"NONE"}}
{"actor":{"display_login":"yutakatahira"}}