{"action":"created","comment":{"url":"https://api.github.com/repos/openstax/accounts-rails/pulls/comments/84799125","pull_request_review_id":5553900,"id":84799125,"diff_hunk":"@@ -0,0 +1,6 @@\n+class AddSalesforceContactIdToAccountsAccounts < ActiveRecord::Migration\n+  def change\n+    add_column :openstax_accounts_accounts, :salesforce_contact_id, :string\n+    add_index :openstax_accounts_accounts, :salesforce_contact_id","path":"db/migrate/6_add_salesforce_contact_id_to_accounts_accounts.rb","position":4,"original_position":4,"commit_id":"bb4d69ef0e2ab0d4d42053a2a66700bc8945a1c8","original_commit_id":"bb4d69ef0e2ab0d4d42053a2a66700bc8945a1c8","user":{"login":"Dantemss","id":1017808,"avatar_url":"https://avatars.githubusercontent.com/u/1017808?v=3","gravatar_id":"","url":"https://api.github.com/users/Dantemss","html_url":"https://github.com/Dantemss","followers_url":"https://api.github.com/users/Dantemss/followers","following_url":"https://api.github.com/users/Dantemss/following{/other_user}","gists_url":"https://api.github.com/users/Dantemss/gists{/gist_id}","starred_url":"https://api.github.com/users/Dantemss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dantemss/subscriptions","organizations_url":"https://api.github.com/users/Dantemss/orgs","repos_url":"https://api.github.com/users/Dantemss/repos","events_url":"https://api.github.com/users/Dantemss/events{/privacy}","received_events_url":"https://api.github.com/users/Dantemss/received_events","type":"User","site_admin":false},"body":"Do we want uniq here? Or need to allow more than 1 account per contact?","created_at":"2016-10-24T22:39:12Z","updated_at":"2016-10-24T22:40:01Z","html_url":"https://github.com/openstax/accounts-rails/pull/56#discussion_r84799125","pull_request_url":"https://api.github.com/repos/openstax/accounts-rails/pulls/56","_links":{"self":{"href":"https://api.github.com/repos/openstax/accounts-rails/pulls/comments/84799125"},"html":{"href":"https://github.com/openstax/accounts-rails/pull/56#discussion_r84799125"},"pull_request":{"href":"https://api.github.com/repos/openstax/accounts-rails/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/openstax/accounts-rails/pulls/56","id":90526958,"html_url":"https://github.com/openstax/accounts-rails/pull/56","diff_url":"https://github.com/openstax/accounts-rails/pull/56.diff","patch_url":"https://github.com/openstax/accounts-rails/pull/56.patch","issue_url":"https://api.github.com/repos/openstax/accounts-rails/issues/56","number":56,"state":"open","locked":false,"title":"add syncing of sf contact ID","user":{"login":"jpslav","id":1001691,"avatar_url":"https://avatars.githubusercontent.com/u/1001691?v=3","gravatar_id":"","url":"https://api.github.com/users/jpslav","html_url":"https://github.com/jpslav","followers_url":"https://api.github.com/users/jpslav/followers","following_url":"https://api.github.com/users/jpslav/following{/other_user}","gists_url":"https://api.github.com/users/jpslav/gists{/gist_id}","starred_url":"https://api.github.com/users/jpslav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpslav/subscriptions","organizations_url":"https://api.github.com/users/jpslav/orgs","repos_url":"https://api.github.com/users/jpslav/repos","events_url":"https://api.github.com/users/jpslav/events{/privacy}","received_events_url":"https://api.github.com/users/jpslav/received_events","type":"User","site_admin":false},"body":"Accounts will start providing the Salesforce Contact ID in synchronization API calls, so this gets accounts-rails ready for that.","created_at":"2016-10-23T19:43:43Z","updated_at":"2016-10-24T22:40:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"97f1dd5fb48f3f873c19b4174b3c56b2eaa883e3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openstax/accounts-rails/pulls/56/commits","review_comments_url":"https://api.github.com/repos/openstax/accounts-rails/pulls/56/comments","review_comment_url":"https://api.github.com/repos/openstax/accounts-rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openstax/accounts-rails/issues/56/comments","statuses_url":"https://api.github.com/repos/openstax/accounts-rails/statuses/bb4d69ef0e2ab0d4d42053a2a66700bc8945a1c8","head":{"label":"openstax:sf-contact-id","ref":"sf-contact-id","sha":"bb4d69ef0e2ab0d4d42053a2a66700bc8945a1c8","user":{"login":"openstax","id":3805549,"avatar_url":"https://avatars.githubusercontent.com/u/3805549?v=3","gravatar_id":"","url":"https://api.github.com/users/openstax","html_url":"https://github.com/openstax","followers_url":"https://api.github.com/users/openstax/followers","following_url":"https://api.github.com/users/openstax/following{/other_user}","gists_url":"https://api.github.com/users/openstax/gists{/gist_id}","starred_url":"https://api.github.com/users/openstax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openstax/subscriptions","organizations_url":"https://api.github.com/users/openstax/orgs","repos_url":"https://api.github.com/users/openstax/repos","events_url":"https://api.github.com/users/openstax/events{/privacy}","received_events_url":"https://api.github.com/users/openstax/received_events","type":"Organization","site_admin":false},"repo":{"id":18779311,"name":"accounts-rails","full_name":"openstax/accounts-rails","owner":{"login":"openstax","id":3805549,"avatar_url":"https://avatars.githubusercontent.com/u/3805549?v=3","gravatar_id":"","url":"https://api.github.com/users/openstax","html_url":"https://github.com/openstax","followers_url":"https://api.github.com/users/openstax/followers","following_url":"https://api.github.com/users/openstax/following{/other_user}","gists_url":"https://api.github.com/users/openstax/gists{/gist_id}","starred_url":"https://api.github.com/users/openstax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openstax/subscriptions","organizations_url":"https://api.github.com/users/openstax/orgs","repos_url":"https://api.github.com/users/openstax/repos","events_url":"https://api.github.com/users/openstax/events{/privacy}","received_events_url":"https://api.github.com/users/openstax/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openstax/accounts-rails","description":"Library for connecting to OpenStax Accounts from Rails","fork":false,"url":"https://api.github.com/repos/openstax/accounts-rails","forks_url":"https://api.github.com/repos/openstax/accounts-rails/forks","keys_url":"https://api.github.com/repos/openstax/accounts-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openstax/accounts-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openstax/accounts-rails/teams","hooks_url":"https://api.github.com/repos/openstax/accounts-rails/hooks","issue_events_url":"https://api.github.com/repos/openstax/accounts-rails/issues/events{/number}","events_url":"https://api.github.com/repos/openstax/accounts-rails/events","assignees_url":"https://api.github.com/repos/openstax/accounts-rails/assignees{/user}","branches_url":"https://api.github.com/repos/openstax/accounts-rails/branches{/branch}","tags_url":"https://api.github.com/repos/openstax/accounts-rails/tags","blobs_url":"https://api.github.com/repos/openstax/accounts-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openstax/accounts-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openstax/accounts-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/openstax/accounts-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openstax/accounts-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/openstax/accounts-rails/languages","stargazers_url":"https://api.github.com/repos/openstax/accounts-rails/stargazers","contributors_url":"https://api.github.com/repos/openstax/accounts-rails/contributors","subscribers_url":"https://api.github.com/repos/openstax/accounts-rails/subscribers","subscription_url":"https://api.github.com/repos/openstax/accounts-rails/subscription","commits_url":"https://api.github.com/repos/openstax/accounts-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/openstax/accounts-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/openstax/accounts-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/openstax/accounts-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/openstax/accounts-rails/contents/{+path}","compare_url":"https://api.github.com/repos/openstax/accounts-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openstax/accounts-rails/merges","archive_url":"https://api.github.com/repos/openstax/accounts-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openstax/accounts-rails/downloads","issues_url":"https://api.github.com/repos/openstax/accounts-rails/issues{/number}","pulls_url":"https://api.github.com/repos/openstax/accounts-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/openstax/accounts-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/openstax/accounts-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openstax/accounts-rails/labels{/name}","releases_url":"https://api.github.com/repos/openstax/accounts-rails/releases{/id}","deployments_url":"https://api.github.com/repos/openstax/accounts-rails/deployments","created_at":"2014-04-14T22:39:06Z","updated_at":"2016-10-14T14:03:20Z","pushed_at":"2016-10-24T22:35:50Z","git_url":"git://github.com/openstax/accounts-rails.git","ssh_url":"git@github.com:openstax/accounts-rails.git","clone_url":"https://github.com/openstax/accounts-rails.git","svn_url":"https://github.com/openstax/accounts-rails","homepage":null,"size":396,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":3,"default_branch":"master"}},"base":{"label":"openstax:master","ref":"master","sha":"fad422b5a839efd0524e2b25c7130e49361f757b","user":{"login":"openstax","id":3805549,"avatar_url":"https://avatars.githubusercontent.com/u/3805549?v=3","gravatar_id":"","url":"https://api.github.com/users/openstax","html_url":"https://github.com/openstax","followers_url":"https://api.github.com/users/openstax/followers","following_url":"https://api.github.com/users/openstax/following{/other_user}","gists_url":"https://api.github.com/users/openstax/gists{/gist_id}","starred_url":"https://api.github.com/users/openstax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openstax/subscriptions","organizations_url":"https://api.github.com/users/openstax/orgs","repos_url":"https://api.github.com/users/openstax/repos","events_url":"https://api.github.com/users/openstax/events{/privacy}","received_events_url":"https://api.github.com/users/openstax/received_events","type":"Organization","site_admin":false},"repo":{"id":18779311,"name":"accounts-rails","full_name":"openstax/accounts-rails","owner":{"login":"openstax","id":3805549,"avatar_url":"https://avatars.githubusercontent.com/u/3805549?v=3","gravatar_id":"","url":"https://api.github.com/users/openstax","html_url":"https://github.com/openstax","followers_url":"https://api.github.com/users/openstax/followers","following_url":"https://api.github.com/users/openstax/following{/other_user}","gists_url":"https://api.github.com/users/openstax/gists{/gist_id}","starred_url":"https://api.github.com/users/openstax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openstax/subscriptions","organizations_url":"https://api.github.com/users/openstax/orgs","repos_url":"https://api.github.com/users/openstax/repos","events_url":"https://api.github.com/users/openstax/events{/privacy}","received_events_url":"https://api.github.com/users/openstax/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openstax/accounts-rails","description":"Library for connecting to OpenStax Accounts from Rails","fork":false,"url":"https://api.github.com/repos/openstax/accounts-rails","forks_url":"https://api.github.com/repos/openstax/accounts-rails/forks","keys_url":"https://api.github.com/repos/openstax/accounts-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openstax/accounts-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openstax/accounts-rails/teams","hooks_url":"https://api.github.com/repos/openstax/accounts-rails/hooks","issue_events_url":"https://api.github.com/repos/openstax/accounts-rails/issues/events{/number}","events_url":"https://api.github.com/repos/openstax/accounts-rails/events","assignees_url":"https://api.github.com/repos/openstax/accounts-rails/assignees{/user}","branches_url":"https://api.github.com/repos/openstax/accounts-rails/branches{/branch}","tags_url":"https://api.github.com/repos/openstax/accounts-rails/tags","blobs_url":"https://api.github.com/repos/openstax/accounts-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openstax/accounts-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openstax/accounts-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/openstax/accounts-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openstax/accounts-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/openstax/accounts-rails/languages","stargazers_url":"https://api.github.com/repos/openstax/accounts-rails/stargazers","contributors_url":"https://api.github.com/repos/openstax/accounts-rails/contributors","subscribers_url":"https://api.github.com/repos/openstax/accounts-rails/subscribers","subscription_url":"https://api.github.com/repos/openstax/accounts-rails/subscription","commits_url":"https://api.github.com/repos/openstax/accounts-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/openstax/accounts-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/openstax/accounts-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/openstax/accounts-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/openstax/accounts-rails/contents/{+path}","compare_url":"https://api.github.com/repos/openstax/accounts-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openstax/accounts-rails/merges","archive_url":"https://api.github.com/repos/openstax/accounts-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openstax/accounts-rails/downloads","issues_url":"https://api.github.com/repos/openstax/accounts-rails/issues{/number}","pulls_url":"https://api.github.com/repos/openstax/accounts-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/openstax/accounts-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/openstax/accounts-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openstax/accounts-rails/labels{/name}","releases_url":"https://api.github.com/repos/openstax/accounts-rails/releases{/id}","deployments_url":"https://api.github.com/repos/openstax/accounts-rails/deployments","created_at":"2014-04-14T22:39:06Z","updated_at":"2016-10-14T14:03:20Z","pushed_at":"2016-10-24T22:35:50Z","git_url":"git://github.com/openstax/accounts-rails.git","ssh_url":"git@github.com:openstax/accounts-rails.git","clone_url":"https://github.com/openstax/accounts-rails.git","svn_url":"https://github.com/openstax/accounts-rails","homepage":null,"size":396,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openstax/accounts-rails/pulls/56"},"html":{"href":"https://github.com/openstax/accounts-rails/pull/56"},"issue":{"href":"https://api.github.com/repos/openstax/accounts-rails/issues/56"},"comments":{"href":"https://api.github.com/repos/openstax/accounts-rails/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/openstax/accounts-rails/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/openstax/accounts-rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openstax/accounts-rails/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/openstax/accounts-rails/statuses/bb4d69ef0e2ab0d4d42053a2a66700bc8945a1c8"}}}}
{"actor":{"display_login":"Dantemss"}}