{"action":"created","comment":{"url":"https://api.github.com/repos/mk-system/cash_flow_manager/pulls/comments/58973618","id":58973618,"diff_hunk":"@@ -0,0 +1,10 @@\n+class CreateUsers < ActiveRecord::Migration\n+  def change\n+    create_table :users do |t|\n+      t.string :name, null: false\n+      t.string :password","path":"db/migrate/20160407101531_create_users.rb","position":5,"original_position":5,"commit_id":"132ddea5851ab5a095ccbe0015d330b3c8e66760","original_commit_id":"132ddea5851ab5a095ccbe0015d330b3c8e66760","user":{"login":"katsusuke","id":624736,"avatar_url":"https://avatars.githubusercontent.com/u/624736?v=3","gravatar_id":"","url":"https://api.github.com/users/katsusuke","html_url":"https://github.com/katsusuke","followers_url":"https://api.github.com/users/katsusuke/followers","following_url":"https://api.github.com/users/katsusuke/following{/other_user}","gists_url":"https://api.github.com/users/katsusuke/gists{/gist_id}","starred_url":"https://api.github.com/users/katsusuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katsusuke/subscriptions","organizations_url":"https://api.github.com/users/katsusuke/orgs","repos_url":"https://api.github.com/users/katsusuke/repos","events_url":"https://api.github.com/users/katsusuke/events{/privacy}","received_events_url":"https://api.github.com/users/katsusuke/received_events","type":"User","site_admin":false},"body":"補足 本にはHash アルゴリズムを使えとあるのですが、ハッシュ化はレインボーテーブルという方法でほぼ破られてしまうため、今はbcrypt を使う事になっています。","created_at":"2016-04-08T02:31:34Z","updated_at":"2016-04-08T02:31:34Z","html_url":"https://github.com/mk-system/cash_flow_manager/pull/21#discussion_r58973618","pull_request_url":"https://api.github.com/repos/mk-system/cash_flow_manager/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/mk-system/cash_flow_manager/pulls/comments/58973618"},"html":{"href":"https://github.com/mk-system/cash_flow_manager/pull/21#discussion_r58973618"},"pull_request":{"href":"https://api.github.com/repos/mk-system/cash_flow_manager/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/mk-system/cash_flow_manager/pulls/21","id":65610763,"html_url":"https://github.com/mk-system/cash_flow_manager/pull/21","diff_url":"https://github.com/mk-system/cash_flow_manager/pull/21.diff","patch_url":"https://github.com/mk-system/cash_flow_manager/pull/21.patch","issue_url":"https://api.github.com/repos/mk-system/cash_flow_manager/issues/21","number":21,"state":"open","locked":false,"title":"[#113904637]ユーザーマスタの追加","user":{"login":"orkento","id":12930538,"avatar_url":"https://avatars.githubusercontent.com/u/12930538?v=3","gravatar_id":"","url":"https://api.github.com/users/orkento","html_url":"https://github.com/orkento","followers_url":"https://api.github.com/users/orkento/followers","following_url":"https://api.github.com/users/orkento/following{/other_user}","gists_url":"https://api.github.com/users/orkento/gists{/gist_id}","starred_url":"https://api.github.com/users/orkento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orkento/subscriptions","organizations_url":"https://api.github.com/users/orkento/orgs","repos_url":"https://api.github.com/users/orkento/repos","events_url":"https://api.github.com/users/orkento/events{/privacy}","received_events_url":"https://api.github.com/users/orkento/received_events","type":"User","site_admin":false},"body":"ユーザーマスタを追加しました。","created_at":"2016-04-07T10:57:32Z","updated_at":"2016-04-08T02:31:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6770e27750748690771af011a048ff67e8ed9ae1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mk-system/cash_flow_manager/pulls/21/commits","review_comments_url":"https://api.github.com/repos/mk-system/cash_flow_manager/pulls/21/comments","review_comment_url":"https://api.github.com/repos/mk-system/cash_flow_manager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mk-system/cash_flow_manager/issues/21/comments","statuses_url":"https://api.github.com/repos/mk-system/cash_flow_manager/statuses/132ddea5851ab5a095ccbe0015d330b3c8e66760","head":{"label":"mk-system:113904637_add_user_master","ref":"113904637_add_user_master","sha":"132ddea5851ab5a095ccbe0015d330b3c8e66760","user":{"login":"mk-system","id":7054569,"avatar_url":"https://avatars.githubusercontent.com/u/7054569?v=3","gravatar_id":"","url":"https://api.github.com/users/mk-system","html_url":"https://github.com/mk-system","followers_url":"https://api.github.com/users/mk-system/followers","following_url":"https://api.github.com/users/mk-system/following{/other_user}","gists_url":"https://api.github.com/users/mk-system/gists{/gist_id}","starred_url":"https://api.github.com/users/mk-system/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mk-system/subscriptions","organizations_url":"https://api.github.com/users/mk-system/orgs","repos_url":"https://api.github.com/users/mk-system/repos","events_url":"https://api.github.com/users/mk-system/events{/privacy}","received_events_url":"https://api.github.com/users/mk-system/received_events","type":"User","site_admin":false},"repo":{"id":41530697,"name":"cash_flow_manager","full_name":"mk-system/cash_flow_manager","owner":{"login":"mk-system","id":7054569,"avatar_url":"https://avatars.githubusercontent.com/u/7054569?v=3","gravatar_id":"","url":"https://api.github.com/users/mk-system","html_url":"https://github.com/mk-system","followers_url":"https://api.github.com/users/mk-system/followers","following_url":"https://api.github.com/users/mk-system/following{/other_user}","gists_url":"https://api.github.com/users/mk-system/gists{/gist_id}","starred_url":"https://api.github.com/users/mk-system/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mk-system/subscriptions","organizations_url":"https://api.github.com/users/mk-system/orgs","repos_url":"https://api.github.com/users/mk-system/repos","events_url":"https://api.github.com/users/mk-system/events{/privacy}","received_events_url":"https://api.github.com/users/mk-system/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mk-system/cash_flow_manager","description":"取引先との取引内容を入力して、キャッシュ・フローを表示するシステム","fork":false,"url":"https://api.github.com/repos/mk-system/cash_flow_manager","forks_url":"https://api.github.com/repos/mk-system/cash_flow_manager/forks","keys_url":"https://api.github.com/repos/mk-system/cash_flow_manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mk-system/cash_flow_manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mk-system/cash_flow_manager/teams","hooks_url":"https://api.github.com/repos/mk-system/cash_flow_manager/hooks","issue_events_url":"https://api.github.com/repos/mk-system/cash_flow_manager/issues/events{/number}","events_url":"https://api.github.com/repos/mk-system/cash_flow_manager/events","assignees_url":"https://api.github.com/repos/mk-system/cash_flow_manager/assignees{/user}","branches_url":"https://api.github.com/repos/mk-system/cash_flow_manager/branches{/branch}","tags_url":"https://api.github.com/repos/mk-system/cash_flow_manager/tags","blobs_url":"https://api.github.com/repos/mk-system/cash_flow_manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mk-system/cash_flow_manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mk-system/cash_flow_manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/mk-system/cash_flow_manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mk-system/cash_flow_manager/statuses/{sha}","languages_url":"https://api.github.com/repos/mk-system/cash_flow_manager/languages","stargazers_url":"https://api.github.com/repos/mk-system/cash_flow_manager/stargazers","contributors_url":"https://api.github.com/repos/mk-system/cash_flow_manager/contributors","subscribers_url":"https://api.github.com/repos/mk-system/cash_flow_manager/subscribers","subscription_url":"https://api.github.com/repos/mk-system/cash_flow_manager/subscription","commits_url":"https://api.github.com/repos/mk-system/cash_flow_manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/mk-system/cash_flow_manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/mk-system/cash_flow_manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/mk-system/cash_flow_manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/mk-system/cash_flow_manager/contents/{+path}","compare_url":"https://api.github.com/repos/mk-system/cash_flow_manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mk-system/cash_flow_manager/merges","archive_url":"https://api.github.com/repos/mk-system/cash_flow_manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mk-system/cash_flow_manager/downloads","issues_url":"https://api.github.com/repos/mk-system/cash_flow_manager/issues{/number}","pulls_url":"https://api.github.com/repos/mk-system/cash_flow_manager/pulls{/number}","milestones_url":"https://api.github.com/repos/mk-system/cash_flow_manager/milestones{/number}","notifications_url":"https://api.github.com/repos/mk-system/cash_flow_manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mk-system/cash_flow_manager/labels{/name}","releases_url":"https://api.github.com/repos/mk-system/cash_flow_manager/releases{/id}","deployments_url":"https://api.github.com/repos/mk-system/cash_flow_manager/deployments","created_at":"2015-08-28T06:18:07Z","updated_at":"2016-02-12T06:49:01Z","pushed_at":"2016-04-08T02:29:49Z","git_url":"git://github.com/mk-system/cash_flow_manager.git","ssh_url":"git@github.com:mk-system/cash_flow_manager.git","clone_url":"https://github.com/mk-system/cash_flow_manager.git","svn_url":"https://github.com/mk-system/cash_flow_manager","homepage":null,"size":515,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"mk-system:master","ref":"master","sha":"66197c997c9c0fc2a4c6215448b4ad108ff8aa3b","user":{"login":"mk-system","id":7054569,"avatar_url":"https://avatars.githubusercontent.com/u/7054569?v=3","gravatar_id":"","url":"https://api.github.com/users/mk-system","html_url":"https://github.com/mk-system","followers_url":"https://api.github.com/users/mk-system/followers","following_url":"https://api.github.com/users/mk-system/following{/other_user}","gists_url":"https://api.github.com/users/mk-system/gists{/gist_id}","starred_url":"https://api.github.com/users/mk-system/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mk-system/subscriptions","organizations_url":"https://api.github.com/users/mk-system/orgs","repos_url":"https://api.github.com/users/mk-system/repos","events_url":"https://api.github.com/users/mk-system/events{/privacy}","received_events_url":"https://api.github.com/users/mk-system/received_events","type":"User","site_admin":false},"repo":{"id":41530697,"name":"cash_flow_manager","full_name":"mk-system/cash_flow_manager","owner":{"login":"mk-system","id":7054569,"avatar_url":"https://avatars.githubusercontent.com/u/7054569?v=3","gravatar_id":"","url":"https://api.github.com/users/mk-system","html_url":"https://github.com/mk-system","followers_url":"https://api.github.com/users/mk-system/followers","following_url":"https://api.github.com/users/mk-system/following{/other_user}","gists_url":"https://api.github.com/users/mk-system/gists{/gist_id}","starred_url":"https://api.github.com/users/mk-system/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mk-system/subscriptions","organizations_url":"https://api.github.com/users/mk-system/orgs","repos_url":"https://api.github.com/users/mk-system/repos","events_url":"https://api.github.com/users/mk-system/events{/privacy}","received_events_url":"https://api.github.com/users/mk-system/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mk-system/cash_flow_manager","description":"取引先との取引内容を入力して、キャッシュ・フローを表示するシステム","fork":false,"url":"https://api.github.com/repos/mk-system/cash_flow_manager","forks_url":"https://api.github.com/repos/mk-system/cash_flow_manager/forks","keys_url":"https://api.github.com/repos/mk-system/cash_flow_manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mk-system/cash_flow_manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mk-system/cash_flow_manager/teams","hooks_url":"https://api.github.com/repos/mk-system/cash_flow_manager/hooks","issue_events_url":"https://api.github.com/repos/mk-system/cash_flow_manager/issues/events{/number}","events_url":"https://api.github.com/repos/mk-system/cash_flow_manager/events","assignees_url":"https://api.github.com/repos/mk-system/cash_flow_manager/assignees{/user}","branches_url":"https://api.github.com/repos/mk-system/cash_flow_manager/branches{/branch}","tags_url":"https://api.github.com/repos/mk-system/cash_flow_manager/tags","blobs_url":"https://api.github.com/repos/mk-system/cash_flow_manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mk-system/cash_flow_manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mk-system/cash_flow_manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/mk-system/cash_flow_manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mk-system/cash_flow_manager/statuses/{sha}","languages_url":"https://api.github.com/repos/mk-system/cash_flow_manager/languages","stargazers_url":"https://api.github.com/repos/mk-system/cash_flow_manager/stargazers","contributors_url":"https://api.github.com/repos/mk-system/cash_flow_manager/contributors","subscribers_url":"https://api.github.com/repos/mk-system/cash_flow_manager/subscribers","subscription_url":"https://api.github.com/repos/mk-system/cash_flow_manager/subscription","commits_url":"https://api.github.com/repos/mk-system/cash_flow_manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/mk-system/cash_flow_manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/mk-system/cash_flow_manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/mk-system/cash_flow_manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/mk-system/cash_flow_manager/contents/{+path}","compare_url":"https://api.github.com/repos/mk-system/cash_flow_manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mk-system/cash_flow_manager/merges","archive_url":"https://api.github.com/repos/mk-system/cash_flow_manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mk-system/cash_flow_manager/downloads","issues_url":"https://api.github.com/repos/mk-system/cash_flow_manager/issues{/number}","pulls_url":"https://api.github.com/repos/mk-system/cash_flow_manager/pulls{/number}","milestones_url":"https://api.github.com/repos/mk-system/cash_flow_manager/milestones{/number}","notifications_url":"https://api.github.com/repos/mk-system/cash_flow_manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mk-system/cash_flow_manager/labels{/name}","releases_url":"https://api.github.com/repos/mk-system/cash_flow_manager/releases{/id}","deployments_url":"https://api.github.com/repos/mk-system/cash_flow_manager/deployments","created_at":"2015-08-28T06:18:07Z","updated_at":"2016-02-12T06:49:01Z","pushed_at":"2016-04-08T02:29:49Z","git_url":"git://github.com/mk-system/cash_flow_manager.git","ssh_url":"git@github.com:mk-system/cash_flow_manager.git","clone_url":"https://github.com/mk-system/cash_flow_manager.git","svn_url":"https://github.com/mk-system/cash_flow_manager","homepage":null,"size":515,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mk-system/cash_flow_manager/pulls/21"},"html":{"href":"https://github.com/mk-system/cash_flow_manager/pull/21"},"issue":{"href":"https://api.github.com/repos/mk-system/cash_flow_manager/issues/21"},"comments":{"href":"https://api.github.com/repos/mk-system/cash_flow_manager/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/mk-system/cash_flow_manager/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/mk-system/cash_flow_manager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mk-system/cash_flow_manager/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/mk-system/cash_flow_manager/statuses/132ddea5851ab5a095ccbe0015d330b3c8e66760"}}}}