{"action":"created","comment":{"url":"https://api.github.com/repos/Fatmylin/rails101/pulls/comments/191427610","pull_request_review_id":123996461,"id":191427610,"diff_hunk":"@@ -0,0 +1,44 @@\n+# frozen_string_literal: true\n+\n+class DeviseCreateUsers < ActiveRecord::Migration[5.1]\n+  def change\n+    create_table :users do |t|\n+      ## Database authenticatable\n+      t.string :email,              null: false, default: \"\"\n+      t.string :encrypted_password, null: false, default: \"\"\n+\n+      ## Recoverable\n+      t.string   :reset_password_token\n+      t.datetime :reset_password_sent_at\n+\n+      ## Rememberable\n+      t.datetime :remember_created_at","path":"db/migrate/20180528031917_devise_create_users.rb","position":15,"original_position":15,"commit_id":"3b92abba3a37c4613e197b407482cc9ead41d40a","original_commit_id":"efe4d19fdf3682b0c6ab8155765d93ffed4aa6e6","user":{"login":"DaMinaup6","id":6902283,"avatar_url":"https://avatars3.githubusercontent.com/u/6902283?v=4","gravatar_id":"","url":"https://api.github.com/users/DaMinaup6","html_url":"https://github.com/DaMinaup6","followers_url":"https://api.github.com/users/DaMinaup6/followers","following_url":"https://api.github.com/users/DaMinaup6/following{/other_user}","gists_url":"https://api.github.com/users/DaMinaup6/gists{/gist_id}","starred_url":"https://api.github.com/users/DaMinaup6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaMinaup6/subscriptions","organizations_url":"https://api.github.com/users/DaMinaup6/orgs","repos_url":"https://api.github.com/users/DaMinaup6/repos","events_url":"https://api.github.com/users/DaMinaup6/events{/privacy}","received_events_url":"https://api.github.com/users/DaMinaup6/received_events","type":"User","site_admin":false},"body":"`remember_created_at` 這個欄位要記甚麼？","created_at":"2018-05-29T13:42:13Z","updated_at":"2018-05-29T13:42:13Z","html_url":"https://github.com/Fatmylin/rails101/pull/4#discussion_r191427610","pull_request_url":"https://api.github.com/repos/Fatmylin/rails101/pulls/4","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Fatmylin/rails101/pulls/comments/191427610"},"html":{"href":"https://github.com/Fatmylin/rails101/pull/4#discussion_r191427610"},"pull_request":{"href":"https://api.github.com/repos/Fatmylin/rails101/pulls/4"}},"in_reply_to_id":191143659},"pull_request":{"url":"https://api.github.com/repos/Fatmylin/rails101/pulls/4","id":190860026,"html_url":"https://github.com/Fatmylin/rails101/pull/4","diff_url":"https://github.com/Fatmylin/rails101/pull/4.diff","patch_url":"https://github.com/Fatmylin/rails101/pull/4.patch","issue_url":"https://api.github.com/repos/Fatmylin/rails101/issues/4","number":4,"state":"open","locked":false,"title":"Ch04 會員系統","user":{"login":"Fatmylin","id":16833782,"avatar_url":"https://avatars1.githubusercontent.com/u/16833782?v=4","gravatar_id":"","url":"https://api.github.com/users/Fatmylin","html_url":"https://github.com/Fatmylin","followers_url":"https://api.github.com/users/Fatmylin/followers","following_url":"https://api.github.com/users/Fatmylin/following{/other_user}","gists_url":"https://api.github.com/users/Fatmylin/gists{/gist_id}","starred_url":"https://api.github.com/users/Fatmylin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fatmylin/subscriptions","organizations_url":"https://api.github.com/users/Fatmylin/orgs","repos_url":"https://api.github.com/users/Fatmylin/repos","events_url":"https://api.github.com/users/Fatmylin/events{/privacy}","received_events_url":"https://api.github.com/users/Fatmylin/received_events","type":"User","site_admin":false},"body":"### Feature\r\n- Add: gem devise\r\n- Update: only members can create/edit/delete group\r\n- Update: users who are not members cant see edit/delete button\r\n### How to use\r\n-  run rails s\r\n- Open localhost:3000\r\n- register a new account\r\n- try to create a discuss group\r\n","created_at":"2018-05-28T07:51:25Z","updated_at":"2018-05-29T13:42:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba6044f16f9a1f948981d19b31216dc5fddc2033","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Fatmylin/rails101/pulls/4/commits","review_comments_url":"https://api.github.com/repos/Fatmylin/rails101/pulls/4/comments","review_comment_url":"https://api.github.com/repos/Fatmylin/rails101/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Fatmylin/rails101/issues/4/comments","statuses_url":"https://api.github.com/repos/Fatmylin/rails101/statuses/3b92abba3a37c4613e197b407482cc9ead41d40a","head":{"label":"Fatmylin:ch04","ref":"ch04","sha":"3b92abba3a37c4613e197b407482cc9ead41d40a","user":{"login":"Fatmylin","id":16833782,"avatar_url":"https://avatars1.githubusercontent.com/u/16833782?v=4","gravatar_id":"","url":"https://api.github.com/users/Fatmylin","html_url":"https://github.com/Fatmylin","followers_url":"https://api.github.com/users/Fatmylin/followers","following_url":"https://api.github.com/users/Fatmylin/following{/other_user}","gists_url":"https://api.github.com/users/Fatmylin/gists{/gist_id}","starred_url":"https://api.github.com/users/Fatmylin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fatmylin/subscriptions","organizations_url":"https://api.github.com/users/Fatmylin/orgs","repos_url":"https://api.github.com/users/Fatmylin/repos","events_url":"https://api.github.com/users/Fatmylin/events{/privacy}","received_events_url":"https://api.github.com/users/Fatmylin/received_events","type":"User","site_admin":false},"repo":{"id":134246864,"name":"rails101","full_name":"Fatmylin/rails101","owner":{"login":"Fatmylin","id":16833782,"avatar_url":"https://avatars1.githubusercontent.com/u/16833782?v=4","gravatar_id":"","url":"https://api.github.com/users/Fatmylin","html_url":"https://github.com/Fatmylin","followers_url":"https://api.github.com/users/Fatmylin/followers","following_url":"https://api.github.com/users/Fatmylin/following{/other_user}","gists_url":"https://api.github.com/users/Fatmylin/gists{/gist_id}","starred_url":"https://api.github.com/users/Fatmylin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fatmylin/subscriptions","organizations_url":"https://api.github.com/users/Fatmylin/orgs","repos_url":"https://api.github.com/users/Fatmylin/repos","events_url":"https://api.github.com/users/Fatmylin/events{/privacy}","received_events_url":"https://api.github.com/users/Fatmylin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Fatmylin/rails101","description":null,"fork":false,"url":"https://api.github.com/repos/Fatmylin/rails101","forks_url":"https://api.github.com/repos/Fatmylin/rails101/forks","keys_url":"https://api.github.com/repos/Fatmylin/rails101/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Fatmylin/rails101/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Fatmylin/rails101/teams","hooks_url":"https://api.github.com/repos/Fatmylin/rails101/hooks","issue_events_url":"https://api.github.com/repos/Fatmylin/rails101/issues/events{/number}","events_url":"https://api.github.com/repos/Fatmylin/rails101/events","assignees_url":"https://api.github.com/repos/Fatmylin/rails101/assignees{/user}","branches_url":"https://api.github.com/repos/Fatmylin/rails101/branches{/branch}","tags_url":"https://api.github.com/repos/Fatmylin/rails101/tags","blobs_url":"https://api.github.com/repos/Fatmylin/rails101/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Fatmylin/rails101/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Fatmylin/rails101/git/refs{/sha}","trees_url":"https://api.github.com/repos/Fatmylin/rails101/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Fatmylin/rails101/statuses/{sha}","languages_url":"https://api.github.com/repos/Fatmylin/rails101/languages","stargazers_url":"https://api.github.com/repos/Fatmylin/rails101/stargazers","contributors_url":"https://api.github.com/repos/Fatmylin/rails101/contributors","subscribers_url":"https://api.github.com/repos/Fatmylin/rails101/subscribers","subscription_url":"https://api.github.com/repos/Fatmylin/rails101/subscription","commits_url":"https://api.github.com/repos/Fatmylin/rails101/commits{/sha}","git_commits_url":"https://api.github.com/repos/Fatmylin/rails101/git/commits{/sha}","comments_url":"https://api.github.com/repos/Fatmylin/rails101/comments{/number}","issue_comment_url":"https://api.github.com/repos/Fatmylin/rails101/issues/comments{/number}","contents_url":"https://api.github.com/repos/Fatmylin/rails101/contents/{+path}","compare_url":"https://api.github.com/repos/Fatmylin/rails101/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Fatmylin/rails101/merges","archive_url":"https://api.github.com/repos/Fatmylin/rails101/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Fatmylin/rails101/downloads","issues_url":"https://api.github.com/repos/Fatmylin/rails101/issues{/number}","pulls_url":"https://api.github.com/repos/Fatmylin/rails101/pulls{/number}","milestones_url":"https://api.github.com/repos/Fatmylin/rails101/milestones{/number}","notifications_url":"https://api.github.com/repos/Fatmylin/rails101/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Fatmylin/rails101/labels{/name}","releases_url":"https://api.github.com/repos/Fatmylin/rails101/releases{/id}","deployments_url":"https://api.github.com/repos/Fatmylin/rails101/deployments","created_at":"2018-05-21T09:20:50Z","updated_at":"2018-05-28T03:09:40Z","pushed_at":"2018-05-29T09:59:54Z","git_url":"git://github.com/Fatmylin/rails101.git","ssh_url":"git@github.com:Fatmylin/rails101.git","clone_url":"https://github.com/Fatmylin/rails101.git","svn_url":"https://github.com/Fatmylin/rails101","homepage":null,"size":101,"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":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Fatmylin:master","ref":"master","sha":"23e8c485ce06e7e93cf3d6b8c0c6fc476e2d138c","user":{"login":"Fatmylin","id":16833782,"avatar_url":"https://avatars1.githubusercontent.com/u/16833782?v=4","gravatar_id":"","url":"https://api.github.com/users/Fatmylin","html_url":"https://github.com/Fatmylin","followers_url":"https://api.github.com/users/Fatmylin/followers","following_url":"https://api.github.com/users/Fatmylin/following{/other_user}","gists_url":"https://api.github.com/users/Fatmylin/gists{/gist_id}","starred_url":"https://api.github.com/users/Fatmylin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fatmylin/subscriptions","organizations_url":"https://api.github.com/users/Fatmylin/orgs","repos_url":"https://api.github.com/users/Fatmylin/repos","events_url":"https://api.github.com/users/Fatmylin/events{/privacy}","received_events_url":"https://api.github.com/users/Fatmylin/received_events","type":"User","site_admin":false},"repo":{"id":134246864,"name":"rails101","full_name":"Fatmylin/rails101","owner":{"login":"Fatmylin","id":16833782,"avatar_url":"https://avatars1.githubusercontent.com/u/16833782?v=4","gravatar_id":"","url":"https://api.github.com/users/Fatmylin","html_url":"https://github.com/Fatmylin","followers_url":"https://api.github.com/users/Fatmylin/followers","following_url":"https://api.github.com/users/Fatmylin/following{/other_user}","gists_url":"https://api.github.com/users/Fatmylin/gists{/gist_id}","starred_url":"https://api.github.com/users/Fatmylin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fatmylin/subscriptions","organizations_url":"https://api.github.com/users/Fatmylin/orgs","repos_url":"https://api.github.com/users/Fatmylin/repos","events_url":"https://api.github.com/users/Fatmylin/events{/privacy}","received_events_url":"https://api.github.com/users/Fatmylin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Fatmylin/rails101","description":null,"fork":false,"url":"https://api.github.com/repos/Fatmylin/rails101","forks_url":"https://api.github.com/repos/Fatmylin/rails101/forks","keys_url":"https://api.github.com/repos/Fatmylin/rails101/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Fatmylin/rails101/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Fatmylin/rails101/teams","hooks_url":"https://api.github.com/repos/Fatmylin/rails101/hooks","issue_events_url":"https://api.github.com/repos/Fatmylin/rails101/issues/events{/number}","events_url":"https://api.github.com/repos/Fatmylin/rails101/events","assignees_url":"https://api.github.com/repos/Fatmylin/rails101/assignees{/user}","branches_url":"https://api.github.com/repos/Fatmylin/rails101/branches{/branch}","tags_url":"https://api.github.com/repos/Fatmylin/rails101/tags","blobs_url":"https://api.github.com/repos/Fatmylin/rails101/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Fatmylin/rails101/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Fatmylin/rails101/git/refs{/sha}","trees_url":"https://api.github.com/repos/Fatmylin/rails101/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Fatmylin/rails101/statuses/{sha}","languages_url":"https://api.github.com/repos/Fatmylin/rails101/languages","stargazers_url":"https://api.github.com/repos/Fatmylin/rails101/stargazers","contributors_url":"https://api.github.com/repos/Fatmylin/rails101/contributors","subscribers_url":"https://api.github.com/repos/Fatmylin/rails101/subscribers","subscription_url":"https://api.github.com/repos/Fatmylin/rails101/subscription","commits_url":"https://api.github.com/repos/Fatmylin/rails101/commits{/sha}","git_commits_url":"https://api.github.com/repos/Fatmylin/rails101/git/commits{/sha}","comments_url":"https://api.github.com/repos/Fatmylin/rails101/comments{/number}","issue_comment_url":"https://api.github.com/repos/Fatmylin/rails101/issues/comments{/number}","contents_url":"https://api.github.com/repos/Fatmylin/rails101/contents/{+path}","compare_url":"https://api.github.com/repos/Fatmylin/rails101/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Fatmylin/rails101/merges","archive_url":"https://api.github.com/repos/Fatmylin/rails101/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Fatmylin/rails101/downloads","issues_url":"https://api.github.com/repos/Fatmylin/rails101/issues{/number}","pulls_url":"https://api.github.com/repos/Fatmylin/rails101/pulls{/number}","milestones_url":"https://api.github.com/repos/Fatmylin/rails101/milestones{/number}","notifications_url":"https://api.github.com/repos/Fatmylin/rails101/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Fatmylin/rails101/labels{/name}","releases_url":"https://api.github.com/repos/Fatmylin/rails101/releases{/id}","deployments_url":"https://api.github.com/repos/Fatmylin/rails101/deployments","created_at":"2018-05-21T09:20:50Z","updated_at":"2018-05-28T03:09:40Z","pushed_at":"2018-05-29T09:59:54Z","git_url":"git://github.com/Fatmylin/rails101.git","ssh_url":"git@github.com:Fatmylin/rails101.git","clone_url":"https://github.com/Fatmylin/rails101.git","svn_url":"https://github.com/Fatmylin/rails101","homepage":null,"size":101,"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":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Fatmylin/rails101/pulls/4"},"html":{"href":"https://github.com/Fatmylin/rails101/pull/4"},"issue":{"href":"https://api.github.com/repos/Fatmylin/rails101/issues/4"},"comments":{"href":"https://api.github.com/repos/Fatmylin/rails101/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/Fatmylin/rails101/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/Fatmylin/rails101/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Fatmylin/rails101/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/Fatmylin/rails101/statuses/3b92abba3a37c4613e197b407482cc9ead41d40a"}},"author_association":"OWNER"}}
{"actor":{"display_login":"DaMinaup6"}}