{"action":"created","comment":{"url":"https://api.github.com/repos/honeymoon-answer/answer/pulls/comments/131539740","pull_request_review_id":54532434,"id":131539740,"diff_hunk":"@@ -5,21 +5,25 @@\n #   gem 'sqlite3'\n #\n default: &default\n-  adapter: sqlite3\n+  adapter: mysql2\n   pool: <%= ENV.fetch(\"RAILS_MAX_THREADS\") { 5 } %>\n   timeout: 5000\n+  database: answer\n+  host: <%= ENV['DATABASE_HOST'] || '127.0.0.1'  %>\n+  username: <%= ENV['DATABASE_USER'] || 'root' %>\n+  password: <%= ENV['DATABASE_PASSWORD'] %>\n+  port: <%= ENV['DATABASE_PORT'] || 3306 %>","path":"config/database.yml","position":12,"original_position":12,"commit_id":"d514979ddf71a0080d603f93a65ef61282d9f74a","original_commit_id":"d514979ddf71a0080d603f93a65ef61282d9f74a","user":{"login":"pyama86","id":8022082,"avatar_url":"https://avatars0.githubusercontent.com/u/8022082?v=4","gravatar_id":"","url":"https://api.github.com/users/pyama86","html_url":"https://github.com/pyama86","followers_url":"https://api.github.com/users/pyama86/followers","following_url":"https://api.github.com/users/pyama86/following{/other_user}","gists_url":"https://api.github.com/users/pyama86/gists{/gist_id}","starred_url":"https://api.github.com/users/pyama86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyama86/subscriptions","organizations_url":"https://api.github.com/users/pyama86/orgs","repos_url":"https://api.github.com/users/pyama86/repos","events_url":"https://api.github.com/users/pyama86/events{/privacy}","received_events_url":"https://api.github.com/users/pyama86/received_events","type":"User","site_admin":false},"body":"はい！なんか同じ端末で本番DBと検証DBを同じ環境変数で使うとかだと、ばーちーさん案の環境変数名に環境名を入れてしまう案が良さそうですが、今回多分その接続はしないと思ったので、統一しました！","created_at":"2017-08-06T10:37:52Z","updated_at":"2017-08-06T10:37:52Z","html_url":"https://github.com/honeymoon-answer/answer/pull/18#discussion_r131539740","pull_request_url":"https://api.github.com/repos/honeymoon-answer/answer/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/honeymoon-answer/answer/pulls/comments/131539740"},"html":{"href":"https://github.com/honeymoon-answer/answer/pull/18#discussion_r131539740"},"pull_request":{"href":"https://api.github.com/repos/honeymoon-answer/answer/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/honeymoon-answer/answer/pulls/18","id":134317918,"html_url":"https://github.com/honeymoon-answer/answer/pull/18","diff_url":"https://github.com/honeymoon-answer/answer/pull/18.diff","patch_url":"https://github.com/honeymoon-answer/answer/pull/18.patch","issue_url":"https://api.github.com/repos/honeymoon-answer/answer/issues/18","number":18,"state":"open","locked":false,"title":"[WIP] モデルとマイグレーションを追加する","user":{"login":"hypermkt","id":1726225,"avatar_url":"https://avatars1.githubusercontent.com/u/1726225?v=4","gravatar_id":"","url":"https://api.github.com/users/hypermkt","html_url":"https://github.com/hypermkt","followers_url":"https://api.github.com/users/hypermkt/followers","following_url":"https://api.github.com/users/hypermkt/following{/other_user}","gists_url":"https://api.github.com/users/hypermkt/gists{/gist_id}","starred_url":"https://api.github.com/users/hypermkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypermkt/subscriptions","organizations_url":"https://api.github.com/users/hypermkt/orgs","repos_url":"https://api.github.com/users/hypermkt/repos","events_url":"https://api.github.com/users/hypermkt/events{/privacy}","received_events_url":"https://api.github.com/users/hypermkt/received_events","type":"User","site_admin":false},"body":"ref: https://github.com/honeymoon-answer/answer/issues/1\r\n\r\nhttps://github.com/honeymoon-answer/answer/pull/10 の進捗により仕様も決まってきたので、出来る所からモデルとマイグレーションファイルを追加していこう","created_at":"2017-08-06T07:53:11Z","updated_at":"2017-08-06T10:37:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea0205167976919c04a8f63016b4436087758cd2","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/honeymoon-answer/answer/pulls/18/commits","review_comments_url":"https://api.github.com/repos/honeymoon-answer/answer/pulls/18/comments","review_comment_url":"https://api.github.com/repos/honeymoon-answer/answer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/honeymoon-answer/answer/issues/18/comments","statuses_url":"https://api.github.com/repos/honeymoon-answer/answer/statuses/d514979ddf71a0080d603f93a65ef61282d9f74a","head":{"label":"honeymoon-answer:add-model","ref":"add-model","sha":"d514979ddf71a0080d603f93a65ef61282d9f74a","user":{"login":"honeymoon-answer","id":30451213,"avatar_url":"https://avatars3.githubusercontent.com/u/30451213?v=4","gravatar_id":"","url":"https://api.github.com/users/honeymoon-answer","html_url":"https://github.com/honeymoon-answer","followers_url":"https://api.github.com/users/honeymoon-answer/followers","following_url":"https://api.github.com/users/honeymoon-answer/following{/other_user}","gists_url":"https://api.github.com/users/honeymoon-answer/gists{/gist_id}","starred_url":"https://api.github.com/users/honeymoon-answer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honeymoon-answer/subscriptions","organizations_url":"https://api.github.com/users/honeymoon-answer/orgs","repos_url":"https://api.github.com/users/honeymoon-answer/repos","events_url":"https://api.github.com/users/honeymoon-answer/events{/privacy}","received_events_url":"https://api.github.com/users/honeymoon-answer/received_events","type":"Organization","site_admin":false},"repo":{"id":98265704,"name":"answer","full_name":"honeymoon-answer/answer","owner":{"login":"honeymoon-answer","id":30451213,"avatar_url":"https://avatars3.githubusercontent.com/u/30451213?v=4","gravatar_id":"","url":"https://api.github.com/users/honeymoon-answer","html_url":"https://github.com/honeymoon-answer","followers_url":"https://api.github.com/users/honeymoon-answer/followers","following_url":"https://api.github.com/users/honeymoon-answer/following{/other_user}","gists_url":"https://api.github.com/users/honeymoon-answer/gists{/gist_id}","starred_url":"https://api.github.com/users/honeymoon-answer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honeymoon-answer/subscriptions","organizations_url":"https://api.github.com/users/honeymoon-answer/orgs","repos_url":"https://api.github.com/users/honeymoon-answer/repos","events_url":"https://api.github.com/users/honeymoon-answer/events{/privacy}","received_events_url":"https://api.github.com/users/honeymoon-answer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/honeymoon-answer/answer","description":null,"fork":false,"url":"https://api.github.com/repos/honeymoon-answer/answer","forks_url":"https://api.github.com/repos/honeymoon-answer/answer/forks","keys_url":"https://api.github.com/repos/honeymoon-answer/answer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/honeymoon-answer/answer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/honeymoon-answer/answer/teams","hooks_url":"https://api.github.com/repos/honeymoon-answer/answer/hooks","issue_events_url":"https://api.github.com/repos/honeymoon-answer/answer/issues/events{/number}","events_url":"https://api.github.com/repos/honeymoon-answer/answer/events","assignees_url":"https://api.github.com/repos/honeymoon-answer/answer/assignees{/user}","branches_url":"https://api.github.com/repos/honeymoon-answer/answer/branches{/branch}","tags_url":"https://api.github.com/repos/honeymoon-answer/answer/tags","blobs_url":"https://api.github.com/repos/honeymoon-answer/answer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/honeymoon-answer/answer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/honeymoon-answer/answer/git/refs{/sha}","trees_url":"https://api.github.com/repos/honeymoon-answer/answer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/honeymoon-answer/answer/statuses/{sha}","languages_url":"https://api.github.com/repos/honeymoon-answer/answer/languages","stargazers_url":"https://api.github.com/repos/honeymoon-answer/answer/stargazers","contributors_url":"https://api.github.com/repos/honeymoon-answer/answer/contributors","subscribers_url":"https://api.github.com/repos/honeymoon-answer/answer/subscribers","subscription_url":"https://api.github.com/repos/honeymoon-answer/answer/subscription","commits_url":"https://api.github.com/repos/honeymoon-answer/answer/commits{/sha}","git_commits_url":"https://api.github.com/repos/honeymoon-answer/answer/git/commits{/sha}","comments_url":"https://api.github.com/repos/honeymoon-answer/answer/comments{/number}","issue_comment_url":"https://api.github.com/repos/honeymoon-answer/answer/issues/comments{/number}","contents_url":"https://api.github.com/repos/honeymoon-answer/answer/contents/{+path}","compare_url":"https://api.github.com/repos/honeymoon-answer/answer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/honeymoon-answer/answer/merges","archive_url":"https://api.github.com/repos/honeymoon-answer/answer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/honeymoon-answer/answer/downloads","issues_url":"https://api.github.com/repos/honeymoon-answer/answer/issues{/number}","pulls_url":"https://api.github.com/repos/honeymoon-answer/answer/pulls{/number}","milestones_url":"https://api.github.com/repos/honeymoon-answer/answer/milestones{/number}","notifications_url":"https://api.github.com/repos/honeymoon-answer/answer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/honeymoon-answer/answer/labels{/name}","releases_url":"https://api.github.com/repos/honeymoon-answer/answer/releases{/id}","deployments_url":"https://api.github.com/repos/honeymoon-answer/answer/deployments","created_at":"2017-07-25T04:55:36Z","updated_at":"2017-08-05T08:43:09Z","pushed_at":"2017-08-06T09:57:18Z","git_url":"git://github.com/honeymoon-answer/answer.git","ssh_url":"git@github.com:honeymoon-answer/answer.git","clone_url":"https://github.com/honeymoon-answer/answer.git","svn_url":"https://github.com/honeymoon-answer/answer","homepage":null,"size":65,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":1,"default_branch":"master"}},"base":{"label":"honeymoon-answer:master","ref":"master","sha":"76204a2028d76a8876c6a4dc6270a40415ddac48","user":{"login":"honeymoon-answer","id":30451213,"avatar_url":"https://avatars3.githubusercontent.com/u/30451213?v=4","gravatar_id":"","url":"https://api.github.com/users/honeymoon-answer","html_url":"https://github.com/honeymoon-answer","followers_url":"https://api.github.com/users/honeymoon-answer/followers","following_url":"https://api.github.com/users/honeymoon-answer/following{/other_user}","gists_url":"https://api.github.com/users/honeymoon-answer/gists{/gist_id}","starred_url":"https://api.github.com/users/honeymoon-answer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honeymoon-answer/subscriptions","organizations_url":"https://api.github.com/users/honeymoon-answer/orgs","repos_url":"https://api.github.com/users/honeymoon-answer/repos","events_url":"https://api.github.com/users/honeymoon-answer/events{/privacy}","received_events_url":"https://api.github.com/users/honeymoon-answer/received_events","type":"Organization","site_admin":false},"repo":{"id":98265704,"name":"answer","full_name":"honeymoon-answer/answer","owner":{"login":"honeymoon-answer","id":30451213,"avatar_url":"https://avatars3.githubusercontent.com/u/30451213?v=4","gravatar_id":"","url":"https://api.github.com/users/honeymoon-answer","html_url":"https://github.com/honeymoon-answer","followers_url":"https://api.github.com/users/honeymoon-answer/followers","following_url":"https://api.github.com/users/honeymoon-answer/following{/other_user}","gists_url":"https://api.github.com/users/honeymoon-answer/gists{/gist_id}","starred_url":"https://api.github.com/users/honeymoon-answer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honeymoon-answer/subscriptions","organizations_url":"https://api.github.com/users/honeymoon-answer/orgs","repos_url":"https://api.github.com/users/honeymoon-answer/repos","events_url":"https://api.github.com/users/honeymoon-answer/events{/privacy}","received_events_url":"https://api.github.com/users/honeymoon-answer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/honeymoon-answer/answer","description":null,"fork":false,"url":"https://api.github.com/repos/honeymoon-answer/answer","forks_url":"https://api.github.com/repos/honeymoon-answer/answer/forks","keys_url":"https://api.github.com/repos/honeymoon-answer/answer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/honeymoon-answer/answer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/honeymoon-answer/answer/teams","hooks_url":"https://api.github.com/repos/honeymoon-answer/answer/hooks","issue_events_url":"https://api.github.com/repos/honeymoon-answer/answer/issues/events{/number}","events_url":"https://api.github.com/repos/honeymoon-answer/answer/events","assignees_url":"https://api.github.com/repos/honeymoon-answer/answer/assignees{/user}","branches_url":"https://api.github.com/repos/honeymoon-answer/answer/branches{/branch}","tags_url":"https://api.github.com/repos/honeymoon-answer/answer/tags","blobs_url":"https://api.github.com/repos/honeymoon-answer/answer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/honeymoon-answer/answer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/honeymoon-answer/answer/git/refs{/sha}","trees_url":"https://api.github.com/repos/honeymoon-answer/answer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/honeymoon-answer/answer/statuses/{sha}","languages_url":"https://api.github.com/repos/honeymoon-answer/answer/languages","stargazers_url":"https://api.github.com/repos/honeymoon-answer/answer/stargazers","contributors_url":"https://api.github.com/repos/honeymoon-answer/answer/contributors","subscribers_url":"https://api.github.com/repos/honeymoon-answer/answer/subscribers","subscription_url":"https://api.github.com/repos/honeymoon-answer/answer/subscription","commits_url":"https://api.github.com/repos/honeymoon-answer/answer/commits{/sha}","git_commits_url":"https://api.github.com/repos/honeymoon-answer/answer/git/commits{/sha}","comments_url":"https://api.github.com/repos/honeymoon-answer/answer/comments{/number}","issue_comment_url":"https://api.github.com/repos/honeymoon-answer/answer/issues/comments{/number}","contents_url":"https://api.github.com/repos/honeymoon-answer/answer/contents/{+path}","compare_url":"https://api.github.com/repos/honeymoon-answer/answer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/honeymoon-answer/answer/merges","archive_url":"https://api.github.com/repos/honeymoon-answer/answer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/honeymoon-answer/answer/downloads","issues_url":"https://api.github.com/repos/honeymoon-answer/answer/issues{/number}","pulls_url":"https://api.github.com/repos/honeymoon-answer/answer/pulls{/number}","milestones_url":"https://api.github.com/repos/honeymoon-answer/answer/milestones{/number}","notifications_url":"https://api.github.com/repos/honeymoon-answer/answer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/honeymoon-answer/answer/labels{/name}","releases_url":"https://api.github.com/repos/honeymoon-answer/answer/releases{/id}","deployments_url":"https://api.github.com/repos/honeymoon-answer/answer/deployments","created_at":"2017-07-25T04:55:36Z","updated_at":"2017-08-05T08:43:09Z","pushed_at":"2017-08-06T09:57:18Z","git_url":"git://github.com/honeymoon-answer/answer.git","ssh_url":"git@github.com:honeymoon-answer/answer.git","clone_url":"https://github.com/honeymoon-answer/answer.git","svn_url":"https://github.com/honeymoon-answer/answer","homepage":null,"size":65,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/honeymoon-answer/answer/pulls/18"},"html":{"href":"https://github.com/honeymoon-answer/answer/pull/18"},"issue":{"href":"https://api.github.com/repos/honeymoon-answer/answer/issues/18"},"comments":{"href":"https://api.github.com/repos/honeymoon-answer/answer/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/honeymoon-answer/answer/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/honeymoon-answer/answer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/honeymoon-answer/answer/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/honeymoon-answer/answer/statuses/d514979ddf71a0080d603f93a65ef61282d9f74a"}}}}
{"actor":{"display_login":"pyama86"}}