{"action":"created","comment":{"url":"https://api.github.com/repos/MRN-Code/quarterback/pulls/comments/86835032","pull_request_review_id":7470412,"id":86835032,"diff_hunk":"@@ -1,11 +1,10 @@\n 'use strict';\n \n-module.exports = function (bookshelf) {\n-  return bookshelf.extend({\n-    tableName: 'cas_roles',\n-    idAttribute: 'role_id',\n-    user: function () {\n-      return this.belongsTo('UserStudyRole', 'role_id');\n-    }\n-  });\n-};\n+module.exports = bookshelf => bookshelf.extend({","path":"packages/steelpenny/src/lib/models/CasRole.js","position":12,"original_position":12,"commit_id":"9e8c603f38e9a1fdd5d2eddddbc09da1fec1afe0","original_commit_id":"9e8c603f38e9a1fdd5d2eddddbc09da1fec1afe0","user":{"login":"swashcap","id":1858316,"avatar_url":"https://avatars.githubusercontent.com/u/1858316?v=3","gravatar_id":"","url":"https://api.github.com/users/swashcap","html_url":"https://github.com/swashcap","followers_url":"https://api.github.com/users/swashcap/followers","following_url":"https://api.github.com/users/swashcap/following{/other_user}","gists_url":"https://api.github.com/users/swashcap/gists{/gist_id}","starred_url":"https://api.github.com/users/swashcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swashcap/subscriptions","organizations_url":"https://api.github.com/users/swashcap/orgs","repos_url":"https://api.github.com/users/swashcap/repos","events_url":"https://api.github.com/users/swashcap/events{/privacy}","received_events_url":"https://api.github.com/users/swashcap/received_events","type":"User","site_admin":false},"body":"Easier to write these factories as arrow functions.","created_at":"2016-11-07T18:20:10Z","updated_at":"2016-11-07T18:20:10Z","html_url":"https://github.com/MRN-Code/quarterback/pull/34#discussion_r86835032","pull_request_url":"https://api.github.com/repos/MRN-Code/quarterback/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/MRN-Code/quarterback/pulls/comments/86835032"},"html":{"href":"https://github.com/MRN-Code/quarterback/pull/34#discussion_r86835032"},"pull_request":{"href":"https://api.github.com/repos/MRN-Code/quarterback/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/MRN-Code/quarterback/pulls/34","id":92633203,"html_url":"https://github.com/MRN-Code/quarterback/pull/34","diff_url":"https://github.com/MRN-Code/quarterback/pull/34.diff","patch_url":"https://github.com/MRN-Code/quarterback/pull/34.patch","issue_url":"https://api.github.com/repos/MRN-Code/quarterback/issues/34","number":34,"state":"open","locked":false,"title":"Enhancement/cleanup","user":{"login":"swashcap","id":1858316,"avatar_url":"https://avatars.githubusercontent.com/u/1858316?v=3","gravatar_id":"","url":"https://api.github.com/users/swashcap","html_url":"https://github.com/swashcap","followers_url":"https://api.github.com/users/swashcap/followers","following_url":"https://api.github.com/users/swashcap/following{/other_user}","gists_url":"https://api.github.com/users/swashcap/gists{/gist_id}","starred_url":"https://api.github.com/users/swashcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swashcap/subscriptions","organizations_url":"https://api.github.com/users/swashcap/orgs","repos_url":"https://api.github.com/users/swashcap/repos","events_url":"https://api.github.com/users/swashcap/events{/privacy}","received_events_url":"https://api.github.com/users/swashcap/received_events","type":"User","site_admin":false},"body":"* **Problem:** steelpenny development practices made the project confusing to reason about and contribute to\r\n* **Solution:** Address linting problems, directory structure, old tooling, etc.\r\n* **Testing:** Examine commit-by-commit. Ensure things look :+1:. Run linting and testing.","created_at":"2016-11-07T18:01:05Z","updated_at":"2016-11-07T18:25:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3919d6cf9455e755d29b10d1d74a057644cd5f2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/MRN-Code/quarterback/pulls/34/commits","review_comments_url":"https://api.github.com/repos/MRN-Code/quarterback/pulls/34/comments","review_comment_url":"https://api.github.com/repos/MRN-Code/quarterback/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MRN-Code/quarterback/issues/34/comments","statuses_url":"https://api.github.com/repos/MRN-Code/quarterback/statuses/9e8c603f38e9a1fdd5d2eddddbc09da1fec1afe0","head":{"label":"MRN-Code:enhancement/cleanup","ref":"enhancement/cleanup","sha":"9e8c603f38e9a1fdd5d2eddddbc09da1fec1afe0","user":{"login":"MRN-Code","id":5330818,"avatar_url":"https://avatars.githubusercontent.com/u/5330818?v=3","gravatar_id":"","url":"https://api.github.com/users/MRN-Code","html_url":"https://github.com/MRN-Code","followers_url":"https://api.github.com/users/MRN-Code/followers","following_url":"https://api.github.com/users/MRN-Code/following{/other_user}","gists_url":"https://api.github.com/users/MRN-Code/gists{/gist_id}","starred_url":"https://api.github.com/users/MRN-Code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MRN-Code/subscriptions","organizations_url":"https://api.github.com/users/MRN-Code/orgs","repos_url":"https://api.github.com/users/MRN-Code/repos","events_url":"https://api.github.com/users/MRN-Code/events{/privacy}","received_events_url":"https://api.github.com/users/MRN-Code/received_events","type":"Organization","site_admin":false},"repo":{"id":55814426,"name":"quarterback","full_name":"MRN-Code/quarterback","owner":{"login":"MRN-Code","id":5330818,"avatar_url":"https://avatars.githubusercontent.com/u/5330818?v=3","gravatar_id":"","url":"https://api.github.com/users/MRN-Code","html_url":"https://github.com/MRN-Code","followers_url":"https://api.github.com/users/MRN-Code/followers","following_url":"https://api.github.com/users/MRN-Code/following{/other_user}","gists_url":"https://api.github.com/users/MRN-Code/gists{/gist_id}","starred_url":"https://api.github.com/users/MRN-Code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MRN-Code/subscriptions","organizations_url":"https://api.github.com/users/MRN-Code/orgs","repos_url":"https://api.github.com/users/MRN-Code/repos","events_url":"https://api.github.com/users/MRN-Code/events{/privacy}","received_events_url":"https://api.github.com/users/MRN-Code/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MRN-Code/quarterback","description":"coins.mrn.org monorepo","fork":false,"url":"https://api.github.com/repos/MRN-Code/quarterback","forks_url":"https://api.github.com/repos/MRN-Code/quarterback/forks","keys_url":"https://api.github.com/repos/MRN-Code/quarterback/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MRN-Code/quarterback/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MRN-Code/quarterback/teams","hooks_url":"https://api.github.com/repos/MRN-Code/quarterback/hooks","issue_events_url":"https://api.github.com/repos/MRN-Code/quarterback/issues/events{/number}","events_url":"https://api.github.com/repos/MRN-Code/quarterback/events","assignees_url":"https://api.github.com/repos/MRN-Code/quarterback/assignees{/user}","branches_url":"https://api.github.com/repos/MRN-Code/quarterback/branches{/branch}","tags_url":"https://api.github.com/repos/MRN-Code/quarterback/tags","blobs_url":"https://api.github.com/repos/MRN-Code/quarterback/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MRN-Code/quarterback/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MRN-Code/quarterback/git/refs{/sha}","trees_url":"https://api.github.com/repos/MRN-Code/quarterback/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MRN-Code/quarterback/statuses/{sha}","languages_url":"https://api.github.com/repos/MRN-Code/quarterback/languages","stargazers_url":"https://api.github.com/repos/MRN-Code/quarterback/stargazers","contributors_url":"https://api.github.com/repos/MRN-Code/quarterback/contributors","subscribers_url":"https://api.github.com/repos/MRN-Code/quarterback/subscribers","subscription_url":"https://api.github.com/repos/MRN-Code/quarterback/subscription","commits_url":"https://api.github.com/repos/MRN-Code/quarterback/commits{/sha}","git_commits_url":"https://api.github.com/repos/MRN-Code/quarterback/git/commits{/sha}","comments_url":"https://api.github.com/repos/MRN-Code/quarterback/comments{/number}","issue_comment_url":"https://api.github.com/repos/MRN-Code/quarterback/issues/comments{/number}","contents_url":"https://api.github.com/repos/MRN-Code/quarterback/contents/{+path}","compare_url":"https://api.github.com/repos/MRN-Code/quarterback/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MRN-Code/quarterback/merges","archive_url":"https://api.github.com/repos/MRN-Code/quarterback/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MRN-Code/quarterback/downloads","issues_url":"https://api.github.com/repos/MRN-Code/quarterback/issues{/number}","pulls_url":"https://api.github.com/repos/MRN-Code/quarterback/pulls{/number}","milestones_url":"https://api.github.com/repos/MRN-Code/quarterback/milestones{/number}","notifications_url":"https://api.github.com/repos/MRN-Code/quarterback/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MRN-Code/quarterback/labels{/name}","releases_url":"https://api.github.com/repos/MRN-Code/quarterback/releases{/id}","deployments_url":"https://api.github.com/repos/MRN-Code/quarterback/deployments","created_at":"2016-04-08T22:53:27Z","updated_at":"2016-04-12T20:26:13Z","pushed_at":"2016-11-07T18:09:29Z","git_url":"git://github.com/MRN-Code/quarterback.git","ssh_url":"git@github.com:MRN-Code/quarterback.git","clone_url":"https://github.com/MRN-Code/quarterback.git","svn_url":"https://github.com/MRN-Code/quarterback","homepage":null,"size":13922,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":0,"default_branch":"master"}},"base":{"label":"MRN-Code:dcrerwrite","ref":"dcrerwrite","sha":"95a584b238d1be7f413fcaab5c11cff45b48682b","user":{"login":"MRN-Code","id":5330818,"avatar_url":"https://avatars.githubusercontent.com/u/5330818?v=3","gravatar_id":"","url":"https://api.github.com/users/MRN-Code","html_url":"https://github.com/MRN-Code","followers_url":"https://api.github.com/users/MRN-Code/followers","following_url":"https://api.github.com/users/MRN-Code/following{/other_user}","gists_url":"https://api.github.com/users/MRN-Code/gists{/gist_id}","starred_url":"https://api.github.com/users/MRN-Code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MRN-Code/subscriptions","organizations_url":"https://api.github.com/users/MRN-Code/orgs","repos_url":"https://api.github.com/users/MRN-Code/repos","events_url":"https://api.github.com/users/MRN-Code/events{/privacy}","received_events_url":"https://api.github.com/users/MRN-Code/received_events","type":"Organization","site_admin":false},"repo":{"id":55814426,"name":"quarterback","full_name":"MRN-Code/quarterback","owner":{"login":"MRN-Code","id":5330818,"avatar_url":"https://avatars.githubusercontent.com/u/5330818?v=3","gravatar_id":"","url":"https://api.github.com/users/MRN-Code","html_url":"https://github.com/MRN-Code","followers_url":"https://api.github.com/users/MRN-Code/followers","following_url":"https://api.github.com/users/MRN-Code/following{/other_user}","gists_url":"https://api.github.com/users/MRN-Code/gists{/gist_id}","starred_url":"https://api.github.com/users/MRN-Code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MRN-Code/subscriptions","organizations_url":"https://api.github.com/users/MRN-Code/orgs","repos_url":"https://api.github.com/users/MRN-Code/repos","events_url":"https://api.github.com/users/MRN-Code/events{/privacy}","received_events_url":"https://api.github.com/users/MRN-Code/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MRN-Code/quarterback","description":"coins.mrn.org monorepo","fork":false,"url":"https://api.github.com/repos/MRN-Code/quarterback","forks_url":"https://api.github.com/repos/MRN-Code/quarterback/forks","keys_url":"https://api.github.com/repos/MRN-Code/quarterback/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MRN-Code/quarterback/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MRN-Code/quarterback/teams","hooks_url":"https://api.github.com/repos/MRN-Code/quarterback/hooks","issue_events_url":"https://api.github.com/repos/MRN-Code/quarterback/issues/events{/number}","events_url":"https://api.github.com/repos/MRN-Code/quarterback/events","assignees_url":"https://api.github.com/repos/MRN-Code/quarterback/assignees{/user}","branches_url":"https://api.github.com/repos/MRN-Code/quarterback/branches{/branch}","tags_url":"https://api.github.com/repos/MRN-Code/quarterback/tags","blobs_url":"https://api.github.com/repos/MRN-Code/quarterback/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MRN-Code/quarterback/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MRN-Code/quarterback/git/refs{/sha}","trees_url":"https://api.github.com/repos/MRN-Code/quarterback/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MRN-Code/quarterback/statuses/{sha}","languages_url":"https://api.github.com/repos/MRN-Code/quarterback/languages","stargazers_url":"https://api.github.com/repos/MRN-Code/quarterback/stargazers","contributors_url":"https://api.github.com/repos/MRN-Code/quarterback/contributors","subscribers_url":"https://api.github.com/repos/MRN-Code/quarterback/subscribers","subscription_url":"https://api.github.com/repos/MRN-Code/quarterback/subscription","commits_url":"https://api.github.com/repos/MRN-Code/quarterback/commits{/sha}","git_commits_url":"https://api.github.com/repos/MRN-Code/quarterback/git/commits{/sha}","comments_url":"https://api.github.com/repos/MRN-Code/quarterback/comments{/number}","issue_comment_url":"https://api.github.com/repos/MRN-Code/quarterback/issues/comments{/number}","contents_url":"https://api.github.com/repos/MRN-Code/quarterback/contents/{+path}","compare_url":"https://api.github.com/repos/MRN-Code/quarterback/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MRN-Code/quarterback/merges","archive_url":"https://api.github.com/repos/MRN-Code/quarterback/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MRN-Code/quarterback/downloads","issues_url":"https://api.github.com/repos/MRN-Code/quarterback/issues{/number}","pulls_url":"https://api.github.com/repos/MRN-Code/quarterback/pulls{/number}","milestones_url":"https://api.github.com/repos/MRN-Code/quarterback/milestones{/number}","notifications_url":"https://api.github.com/repos/MRN-Code/quarterback/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MRN-Code/quarterback/labels{/name}","releases_url":"https://api.github.com/repos/MRN-Code/quarterback/releases{/id}","deployments_url":"https://api.github.com/repos/MRN-Code/quarterback/deployments","created_at":"2016-04-08T22:53:27Z","updated_at":"2016-04-12T20:26:13Z","pushed_at":"2016-11-07T18:09:29Z","git_url":"git://github.com/MRN-Code/quarterback.git","ssh_url":"git@github.com:MRN-Code/quarterback.git","clone_url":"https://github.com/MRN-Code/quarterback.git","svn_url":"https://github.com/MRN-Code/quarterback","homepage":null,"size":13922,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MRN-Code/quarterback/pulls/34"},"html":{"href":"https://github.com/MRN-Code/quarterback/pull/34"},"issue":{"href":"https://api.github.com/repos/MRN-Code/quarterback/issues/34"},"comments":{"href":"https://api.github.com/repos/MRN-Code/quarterback/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/MRN-Code/quarterback/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/MRN-Code/quarterback/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MRN-Code/quarterback/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/MRN-Code/quarterback/statuses/9e8c603f38e9a1fdd5d2eddddbc09da1fec1afe0"}}}}
{"actor":{"display_login":"swashcap"}}