{"action":"opened","number":18,"pull_request":{"url":"https://api.github.com/repos/andela/selene-ah-backend/pulls/18","id":235279459,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1Mjc5NDU5","html_url":"https://github.com/andela/selene-ah-backend/pull/18","diff_url":"https://github.com/andela/selene-ah-backend/pull/18.diff","patch_url":"https://github.com/andela/selene-ah-backend/pull/18.patch","issue_url":"https://api.github.com/repos/andela/selene-ah-backend/issues/18","number":18,"state":"open","locked":false,"title":"#162342206 Create login method model","user":{"login":"theghostyced","id":28215750,"node_id":"MDQ6VXNlcjI4MjE1NzUw","avatar_url":"https://avatars1.githubusercontent.com/u/28215750?v=4","gravatar_id":"","url":"https://api.github.com/users/theghostyced","html_url":"https://github.com/theghostyced","followers_url":"https://api.github.com/users/theghostyced/followers","following_url":"https://api.github.com/users/theghostyced/following{/other_user}","gists_url":"https://api.github.com/users/theghostyced/gists{/gist_id}","starred_url":"https://api.github.com/users/theghostyced/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theghostyced/subscriptions","organizations_url":"https://api.github.com/users/theghostyced/orgs","repos_url":"https://api.github.com/users/theghostyced/repos","events_url":"https://api.github.com/users/theghostyced/events{/privacy}","received_events_url":"https://api.github.com/users/theghostyced/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nCreate a loginMethod model for the project\r\n#### Description of Task to be completed?\r\n- Create the login method file\r\n- Add the following required fields\r\n```\r\n loginMethod {\r\n  id int \r\n  userId int\r\n  authMethod_used varchar\r\n  created_at date\r\n  update_at date\r\n}\r\n```\r\n- Add the relationships needed\r\n\r\n#### How should this be manually tested?\r\nClone the project\r\nOpen the `model` folder and check the `loginMethod` file\r\n#### Any background context you want to provide?\r\n*N/A*\r\n#### What are the relevant pivotal tracker stories?\r\n[#162342206](https://www.pivotaltracker.com/story/show/162342206)\r\n#### Screenshots (if appropriate)\r\n*N/A*\r\n#### Questions:\r\n*N/A*","created_at":"2018-12-02T19:32:51Z","updated_at":"2018-12-02T19:32:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/selene-ah-backend/pulls/18/commits","review_comments_url":"https://api.github.com/repos/andela/selene-ah-backend/pulls/18/comments","review_comment_url":"https://api.github.com/repos/andela/selene-ah-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/selene-ah-backend/issues/18/comments","statuses_url":"https://api.github.com/repos/andela/selene-ah-backend/statuses/167071ecfb3fc86727952f2ec5e954502f633cfb","head":{"label":"andela:ft-login-method-model-162342206","ref":"ft-login-method-model-162342206","sha":"167071ecfb3fc86727952f2ec5e954502f633cfb","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":156542739,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY1NDI3Mzk=","name":"selene-ah-backend","full_name":"andela/selene-ah-backend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/selene-ah-backend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/selene-ah-backend","forks_url":"https://api.github.com/repos/andela/selene-ah-backend/forks","keys_url":"https://api.github.com/repos/andela/selene-ah-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/selene-ah-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/selene-ah-backend/teams","hooks_url":"https://api.github.com/repos/andela/selene-ah-backend/hooks","issue_events_url":"https://api.github.com/repos/andela/selene-ah-backend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/selene-ah-backend/events","assignees_url":"https://api.github.com/repos/andela/selene-ah-backend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/selene-ah-backend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/selene-ah-backend/tags","blobs_url":"https://api.github.com/repos/andela/selene-ah-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/selene-ah-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/selene-ah-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/selene-ah-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/selene-ah-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/selene-ah-backend/languages","stargazers_url":"https://api.github.com/repos/andela/selene-ah-backend/stargazers","contributors_url":"https://api.github.com/repos/andela/selene-ah-backend/contributors","subscribers_url":"https://api.github.com/repos/andela/selene-ah-backend/subscribers","subscription_url":"https://api.github.com/repos/andela/selene-ah-backend/subscription","commits_url":"https://api.github.com/repos/andela/selene-ah-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/selene-ah-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/selene-ah-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/selene-ah-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/selene-ah-backend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/selene-ah-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/selene-ah-backend/merges","archive_url":"https://api.github.com/repos/andela/selene-ah-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/selene-ah-backend/downloads","issues_url":"https://api.github.com/repos/andela/selene-ah-backend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/selene-ah-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/selene-ah-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/selene-ah-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/selene-ah-backend/labels{/name}","releases_url":"https://api.github.com/repos/andela/selene-ah-backend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/selene-ah-backend/deployments","created_at":"2018-11-07T12:24:04Z","updated_at":"2018-11-30T18:56:56Z","pushed_at":"2018-12-02T19:28:07Z","git_url":"git://github.com/andela/selene-ah-backend.git","ssh_url":"git@github.com:andela/selene-ah-backend.git","clone_url":"https://github.com/andela/selene-ah-backend.git","svn_url":"https://github.com/andela/selene-ah-backend","homepage":null,"size":354,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"ed08b76b5bb90b7dbcb90c6fa1b15067d43c54b7","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":156542739,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY1NDI3Mzk=","name":"selene-ah-backend","full_name":"andela/selene-ah-backend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/selene-ah-backend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/selene-ah-backend","forks_url":"https://api.github.com/repos/andela/selene-ah-backend/forks","keys_url":"https://api.github.com/repos/andela/selene-ah-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/selene-ah-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/selene-ah-backend/teams","hooks_url":"https://api.github.com/repos/andela/selene-ah-backend/hooks","issue_events_url":"https://api.github.com/repos/andela/selene-ah-backend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/selene-ah-backend/events","assignees_url":"https://api.github.com/repos/andela/selene-ah-backend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/selene-ah-backend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/selene-ah-backend/tags","blobs_url":"https://api.github.com/repos/andela/selene-ah-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/selene-ah-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/selene-ah-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/selene-ah-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/selene-ah-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/selene-ah-backend/languages","stargazers_url":"https://api.github.com/repos/andela/selene-ah-backend/stargazers","contributors_url":"https://api.github.com/repos/andela/selene-ah-backend/contributors","subscribers_url":"https://api.github.com/repos/andela/selene-ah-backend/subscribers","subscription_url":"https://api.github.com/repos/andela/selene-ah-backend/subscription","commits_url":"https://api.github.com/repos/andela/selene-ah-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/selene-ah-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/selene-ah-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/selene-ah-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/selene-ah-backend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/selene-ah-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/selene-ah-backend/merges","archive_url":"https://api.github.com/repos/andela/selene-ah-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/selene-ah-backend/downloads","issues_url":"https://api.github.com/repos/andela/selene-ah-backend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/selene-ah-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/selene-ah-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/selene-ah-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/selene-ah-backend/labels{/name}","releases_url":"https://api.github.com/repos/andela/selene-ah-backend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/selene-ah-backend/deployments","created_at":"2018-11-07T12:24:04Z","updated_at":"2018-11-30T18:56:56Z","pushed_at":"2018-12-02T19:28:07Z","git_url":"git://github.com/andela/selene-ah-backend.git","ssh_url":"git@github.com:andela/selene-ah-backend.git","clone_url":"https://github.com/andela/selene-ah-backend.git","svn_url":"https://github.com/andela/selene-ah-backend","homepage":null,"size":354,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/selene-ah-backend/pulls/18"},"html":{"href":"https://github.com/andela/selene-ah-backend/pull/18"},"issue":{"href":"https://api.github.com/repos/andela/selene-ah-backend/issues/18"},"comments":{"href":"https://api.github.com/repos/andela/selene-ah-backend/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/selene-ah-backend/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/selene-ah-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/selene-ah-backend/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/andela/selene-ah-backend/statuses/167071ecfb3fc86727952f2ec5e954502f633cfb"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":37,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"theghostyced"}}