{"action":"created","comment":{"url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/pulls/comments/165988861","pull_request_review_id":94009379,"id":165988861,"diff_hunk":"@@ -20,7 +21,9 @@ class Student\n   create_index({organization: 1, course: 1, uid: 1}, {unique: true})\n   create_index({organization: 1, uid: 1})\n   create_index({'last_assignment.guide.slug': 1, 'last_assignment.exercise.eid': 1}, {name: 'ExBibIdIndex'})\n-  create_index({first_name: 'text', last_name: 'text', email: 'text'})\n+\n+  drop_index 'first_name_text_last_name_text_email_text'\n+  create_index({first_name: 'text', last_name: 'text', email: 'text', national_id: 'text'})","path":"lib/classroom/models/student.rb","position":15,"original_position":15,"commit_id":"6d1a23382569afc666b34d79e2cd0f7ea9711d51","original_commit_id":"6d1a23382569afc666b34d79e2cd0f7ea9711d51","user":{"login":"flbulgarelli","id":677436,"avatar_url":"https://avatars1.githubusercontent.com/u/677436?v=4","gravatar_id":"","url":"https://api.github.com/users/flbulgarelli","html_url":"https://github.com/flbulgarelli","followers_url":"https://api.github.com/users/flbulgarelli/followers","following_url":"https://api.github.com/users/flbulgarelli/following{/other_user}","gists_url":"https://api.github.com/users/flbulgarelli/gists{/gist_id}","starred_url":"https://api.github.com/users/flbulgarelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flbulgarelli/subscriptions","organizations_url":"https://api.github.com/users/flbulgarelli/orgs","repos_url":"https://api.github.com/users/flbulgarelli/repos","events_url":"https://api.github.com/users/flbulgarelli/events{/privacy}","received_events_url":"https://api.github.com/users/flbulgarelli/received_events","type":"User","site_admin":false},"body":"We should remove this line","created_at":"2018-02-05T14:37:03Z","updated_at":"2018-02-05T14:38:36Z","html_url":"https://github.com/mumuki/mumuki-classroom-api/pull/122#discussion_r165988861","pull_request_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/pulls/122","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/mumuki/mumuki-classroom-api/pulls/comments/165988861"},"html":{"href":"https://github.com/mumuki/mumuki-classroom-api/pull/122#discussion_r165988861"},"pull_request":{"href":"https://api.github.com/repos/mumuki/mumuki-classroom-api/pulls/122"}}},"pull_request":{"url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/pulls/122","id":166975565,"html_url":"https://github.com/mumuki/mumuki-classroom-api/pull/122","diff_url":"https://github.com/mumuki/mumuki-classroom-api/pull/122.diff","patch_url":"https://github.com/mumuki/mumuki-classroom-api/pull/122.patch","issue_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/issues/122","number":122,"state":"open","locked":false,"title":"Feature add national","user":{"login":"fedescarpa","id":1039278,"avatar_url":"https://avatars1.githubusercontent.com/u/1039278?v=4","gravatar_id":"","url":"https://api.github.com/users/fedescarpa","html_url":"https://github.com/fedescarpa","followers_url":"https://api.github.com/users/fedescarpa/followers","following_url":"https://api.github.com/users/fedescarpa/following{/other_user}","gists_url":"https://api.github.com/users/fedescarpa/gists{/gist_id}","starred_url":"https://api.github.com/users/fedescarpa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedescarpa/subscriptions","organizations_url":"https://api.github.com/users/fedescarpa/orgs","repos_url":"https://api.github.com/users/fedescarpa/repos","events_url":"https://api.github.com/users/fedescarpa/events{/privacy}","received_events_url":"https://api.github.com/users/fedescarpa/received_events","type":"User","site_admin":false},"body":"Added national_id with search support by this new field\r\n\r\nNormalizing email, first_name and last_name","created_at":"2018-02-03T19:02:54Z","updated_at":"2018-02-05T14:38:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7449177389860634f97a64ae852999ddeeb533e7","assignee":{"login":"fedescarpa","id":1039278,"avatar_url":"https://avatars1.githubusercontent.com/u/1039278?v=4","gravatar_id":"","url":"https://api.github.com/users/fedescarpa","html_url":"https://github.com/fedescarpa","followers_url":"https://api.github.com/users/fedescarpa/followers","following_url":"https://api.github.com/users/fedescarpa/following{/other_user}","gists_url":"https://api.github.com/users/fedescarpa/gists{/gist_id}","starred_url":"https://api.github.com/users/fedescarpa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedescarpa/subscriptions","organizations_url":"https://api.github.com/users/fedescarpa/orgs","repos_url":"https://api.github.com/users/fedescarpa/repos","events_url":"https://api.github.com/users/fedescarpa/events{/privacy}","received_events_url":"https://api.github.com/users/fedescarpa/received_events","type":"User","site_admin":false},"assignees":[{"login":"fedescarpa","id":1039278,"avatar_url":"https://avatars1.githubusercontent.com/u/1039278?v=4","gravatar_id":"","url":"https://api.github.com/users/fedescarpa","html_url":"https://github.com/fedescarpa","followers_url":"https://api.github.com/users/fedescarpa/followers","following_url":"https://api.github.com/users/fedescarpa/following{/other_user}","gists_url":"https://api.github.com/users/fedescarpa/gists{/gist_id}","starred_url":"https://api.github.com/users/fedescarpa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedescarpa/subscriptions","organizations_url":"https://api.github.com/users/fedescarpa/orgs","repos_url":"https://api.github.com/users/fedescarpa/repos","events_url":"https://api.github.com/users/fedescarpa/events{/privacy}","received_events_url":"https://api.github.com/users/fedescarpa/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/pulls/122/commits","review_comments_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/pulls/122/comments","review_comment_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/issues/122/comments","statuses_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/statuses/6d1a23382569afc666b34d79e2cd0f7ea9711d51","head":{"label":"mumuki:feature-add-national-id","ref":"feature-add-national-id","sha":"6d1a23382569afc666b34d79e2cd0f7ea9711d51","user":{"login":"mumuki","id":10385254,"avatar_url":"https://avatars2.githubusercontent.com/u/10385254?v=4","gravatar_id":"","url":"https://api.github.com/users/mumuki","html_url":"https://github.com/mumuki","followers_url":"https://api.github.com/users/mumuki/followers","following_url":"https://api.github.com/users/mumuki/following{/other_user}","gists_url":"https://api.github.com/users/mumuki/gists{/gist_id}","starred_url":"https://api.github.com/users/mumuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mumuki/subscriptions","organizations_url":"https://api.github.com/users/mumuki/orgs","repos_url":"https://api.github.com/users/mumuki/repos","events_url":"https://api.github.com/users/mumuki/events{/privacy}","received_events_url":"https://api.github.com/users/mumuki/received_events","type":"Organization","site_admin":false},"repo":{"id":51602063,"name":"mumuki-classroom-api","full_name":"mumuki/mumuki-classroom-api","owner":{"login":"mumuki","id":10385254,"avatar_url":"https://avatars2.githubusercontent.com/u/10385254?v=4","gravatar_id":"","url":"https://api.github.com/users/mumuki","html_url":"https://github.com/mumuki","followers_url":"https://api.github.com/users/mumuki/followers","following_url":"https://api.github.com/users/mumuki/following{/other_user}","gists_url":"https://api.github.com/users/mumuki/gists{/gist_id}","starred_url":"https://api.github.com/users/mumuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mumuki/subscriptions","organizations_url":"https://api.github.com/users/mumuki/orgs","repos_url":"https://api.github.com/users/mumuki/repos","events_url":"https://api.github.com/users/mumuki/events{/privacy}","received_events_url":"https://api.github.com/users/mumuki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mumuki/mumuki-classroom-api","description":"API for tracking students' progress within Mumuki.","fork":false,"url":"https://api.github.com/repos/mumuki/mumuki-classroom-api","forks_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/forks","keys_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/teams","hooks_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/hooks","issue_events_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/issues/events{/number}","events_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/events","assignees_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/assignees{/user}","branches_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/branches{/branch}","tags_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/tags","blobs_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/statuses/{sha}","languages_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/languages","stargazers_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/stargazers","contributors_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/contributors","subscribers_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/subscribers","subscription_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/subscription","commits_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/contents/{+path}","compare_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/merges","archive_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/downloads","issues_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/issues{/number}","pulls_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/pulls{/number}","milestones_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/milestones{/number}","notifications_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/labels{/name}","releases_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/releases{/id}","deployments_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/deployments","created_at":"2016-02-12T16:47:53Z","updated_at":"2016-12-15T02:33:58Z","pushed_at":"2018-02-03T19:02:55Z","git_url":"git://github.com/mumuki/mumuki-classroom-api.git","ssh_url":"git@github.com:mumuki/mumuki-classroom-api.git","clone_url":"https://github.com/mumuki/mumuki-classroom-api.git","svn_url":"https://github.com/mumuki/mumuki-classroom-api","homepage":"","size":707,"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":8,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"mumuki:master","ref":"master","sha":"c62c372fdf2538df1f76cd448c38525993d2bfa7","user":{"login":"mumuki","id":10385254,"avatar_url":"https://avatars2.githubusercontent.com/u/10385254?v=4","gravatar_id":"","url":"https://api.github.com/users/mumuki","html_url":"https://github.com/mumuki","followers_url":"https://api.github.com/users/mumuki/followers","following_url":"https://api.github.com/users/mumuki/following{/other_user}","gists_url":"https://api.github.com/users/mumuki/gists{/gist_id}","starred_url":"https://api.github.com/users/mumuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mumuki/subscriptions","organizations_url":"https://api.github.com/users/mumuki/orgs","repos_url":"https://api.github.com/users/mumuki/repos","events_url":"https://api.github.com/users/mumuki/events{/privacy}","received_events_url":"https://api.github.com/users/mumuki/received_events","type":"Organization","site_admin":false},"repo":{"id":51602063,"name":"mumuki-classroom-api","full_name":"mumuki/mumuki-classroom-api","owner":{"login":"mumuki","id":10385254,"avatar_url":"https://avatars2.githubusercontent.com/u/10385254?v=4","gravatar_id":"","url":"https://api.github.com/users/mumuki","html_url":"https://github.com/mumuki","followers_url":"https://api.github.com/users/mumuki/followers","following_url":"https://api.github.com/users/mumuki/following{/other_user}","gists_url":"https://api.github.com/users/mumuki/gists{/gist_id}","starred_url":"https://api.github.com/users/mumuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mumuki/subscriptions","organizations_url":"https://api.github.com/users/mumuki/orgs","repos_url":"https://api.github.com/users/mumuki/repos","events_url":"https://api.github.com/users/mumuki/events{/privacy}","received_events_url":"https://api.github.com/users/mumuki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mumuki/mumuki-classroom-api","description":"API for tracking students' progress within Mumuki.","fork":false,"url":"https://api.github.com/repos/mumuki/mumuki-classroom-api","forks_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/forks","keys_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/teams","hooks_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/hooks","issue_events_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/issues/events{/number}","events_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/events","assignees_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/assignees{/user}","branches_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/branches{/branch}","tags_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/tags","blobs_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/statuses/{sha}","languages_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/languages","stargazers_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/stargazers","contributors_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/contributors","subscribers_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/subscribers","subscription_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/subscription","commits_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/contents/{+path}","compare_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/merges","archive_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/downloads","issues_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/issues{/number}","pulls_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/pulls{/number}","milestones_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/milestones{/number}","notifications_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/labels{/name}","releases_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/releases{/id}","deployments_url":"https://api.github.com/repos/mumuki/mumuki-classroom-api/deployments","created_at":"2016-02-12T16:47:53Z","updated_at":"2016-12-15T02:33:58Z","pushed_at":"2018-02-03T19:02:55Z","git_url":"git://github.com/mumuki/mumuki-classroom-api.git","ssh_url":"git@github.com:mumuki/mumuki-classroom-api.git","clone_url":"https://github.com/mumuki/mumuki-classroom-api.git","svn_url":"https://github.com/mumuki/mumuki-classroom-api","homepage":"","size":707,"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":8,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mumuki/mumuki-classroom-api/pulls/122"},"html":{"href":"https://github.com/mumuki/mumuki-classroom-api/pull/122"},"issue":{"href":"https://api.github.com/repos/mumuki/mumuki-classroom-api/issues/122"},"comments":{"href":"https://api.github.com/repos/mumuki/mumuki-classroom-api/issues/122/comments"},"review_comments":{"href":"https://api.github.com/repos/mumuki/mumuki-classroom-api/pulls/122/comments"},"review_comment":{"href":"https://api.github.com/repos/mumuki/mumuki-classroom-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mumuki/mumuki-classroom-api/pulls/122/commits"},"statuses":{"href":"https://api.github.com/repos/mumuki/mumuki-classroom-api/statuses/6d1a23382569afc666b34d79e2cd0f7ea9711d51"}},"author_association":"OWNER"}}
{"actor":{"display_login":"flbulgarelli"}}