{"action":"created","comment":{"url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/comments/104165801","pull_request_review_id":24984574,"id":104165801,"diff_hunk":"@@ -2,11 +2,12 @@\n -- PostgreSQL database dump\n --\n \n--- Dumped from database version 9.5.5\n--- Dumped by pg_dump version 9.5.5\n+-- Dumped from database version 9.6.1","path":"db/structure.sql","position":6,"original_position":6,"commit_id":"c13fb5532a4f83e48f56a0f0144a7178f16a72e9","original_commit_id":"c13fb5532a4f83e48f56a0f0144a7178f16a72e9","user":{"login":"aliuk2012","id":3441519,"avatar_url":"https://avatars2.githubusercontent.com/u/3441519?v=3","gravatar_id":"","url":"https://api.github.com/users/aliuk2012","html_url":"https://github.com/aliuk2012","followers_url":"https://api.github.com/users/aliuk2012/followers","following_url":"https://api.github.com/users/aliuk2012/following{/other_user}","gists_url":"https://api.github.com/users/aliuk2012/gists{/gist_id}","starred_url":"https://api.github.com/users/aliuk2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliuk2012/subscriptions","organizations_url":"https://api.github.com/users/aliuk2012/orgs","repos_url":"https://api.github.com/users/aliuk2012/repos","events_url":"https://api.github.com/users/aliuk2012/events{/privacy}","received_events_url":"https://api.github.com/users/aliuk2012/received_events","type":"User","site_admin":false},"body":"I think we are all on 9.5.5","created_at":"2017-03-03T14:45:30Z","updated_at":"2017-03-03T14:56:18Z","html_url":"https://github.com/ministryofjustice/correspondence_tool_staff/pull/111#discussion_r104165801","pull_request_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/111","_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/comments/104165801"},"html":{"href":"https://github.com/ministryofjustice/correspondence_tool_staff/pull/111#discussion_r104165801"},"pull_request":{"href":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/111"}}},"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/111","id":108954605,"html_url":"https://github.com/ministryofjustice/correspondence_tool_staff/pull/111","diff_url":"https://github.com/ministryofjustice/correspondence_tool_staff/pull/111.diff","patch_url":"https://github.com/ministryofjustice/correspondence_tool_staff/pull/111.patch","issue_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues/111","number":111,"state":"open","locked":false,"title":"CT-336 Send assignment notification email to drafter","user":{"login":"stephenrichards","id":115617,"avatar_url":"https://avatars2.githubusercontent.com/u/115617?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenrichards","html_url":"https://github.com/stephenrichards","followers_url":"https://api.github.com/users/stephenrichards/followers","following_url":"https://api.github.com/users/stephenrichards/following{/other_user}","gists_url":"https://api.github.com/users/stephenrichards/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenrichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenrichards/subscriptions","organizations_url":"https://api.github.com/users/stephenrichards/orgs","repos_url":"https://api.github.com/users/stephenrichards/repos","events_url":"https://api.github.com/users/stephenrichards/events{/privacy}","received_events_url":"https://api.github.com/users/stephenrichards/received_events","type":"User","site_admin":false},"body":"When a case is assigned to a drafter, an email summary of the case with a link to that case is sent to the drafter.\r\n\r\nThis PR also adds full name to the User model, and the user:dev_entries and user:demo_entries have been updated accordingly.\r\n\r\nTo migrate the existing demo entries in the database, run rake data:migrate:all","created_at":"2017-03-03T11:24:03Z","updated_at":"2017-03-03T14:56:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"083dbb1cf7af2ae059554c7bb4e0abe94846af07","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/111/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/111/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues/111/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/statuses/c13fb5532a4f83e48f56a0f0144a7178f16a72e9","head":{"label":"ministryofjustice:ct336","ref":"ct336","sha":"c13fb5532a4f83e48f56a0f0144a7178f16a72e9","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars0.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":61301199,"name":"correspondence_tool_staff","full_name":"ministryofjustice/correspondence_tool_staff","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars0.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/correspondence_tool_staff","description":"Correspondence Tool Staff - Rails App with Postgres Backend","fork":false,"url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff","forks_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/forks","keys_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/events","assignees_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/merges","archive_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/deployments","created_at":"2016-06-16T14:35:41Z","updated_at":"2016-11-01T15:58:38Z","pushed_at":"2017-03-03T11:35:03Z","git_url":"git://github.com/ministryofjustice/correspondence_tool_staff.git","ssh_url":"git@github.com:ministryofjustice/correspondence_tool_staff.git","clone_url":"https://github.com/ministryofjustice/correspondence_tool_staff.git","svn_url":"https://github.com/ministryofjustice/correspondence_tool_staff","homepage":"","size":534,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"develop"}},"base":{"label":"ministryofjustice:develop","ref":"develop","sha":"f601a9cf3f7995f093ffdd62352b6af2397a5efc","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars0.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":61301199,"name":"correspondence_tool_staff","full_name":"ministryofjustice/correspondence_tool_staff","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars0.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/correspondence_tool_staff","description":"Correspondence Tool Staff - Rails App with Postgres Backend","fork":false,"url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff","forks_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/forks","keys_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/events","assignees_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/merges","archive_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/deployments","created_at":"2016-06-16T14:35:41Z","updated_at":"2016-11-01T15:58:38Z","pushed_at":"2017-03-03T11:35:03Z","git_url":"git://github.com/ministryofjustice/correspondence_tool_staff.git","ssh_url":"git@github.com:ministryofjustice/correspondence_tool_staff.git","clone_url":"https://github.com/ministryofjustice/correspondence_tool_staff.git","svn_url":"https://github.com/ministryofjustice/correspondence_tool_staff","homepage":"","size":534,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/111"},"html":{"href":"https://github.com/ministryofjustice/correspondence_tool_staff/pull/111"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues/111"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues/111/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/111/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/111/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/statuses/c13fb5532a4f83e48f56a0f0144a7178f16a72e9"}}}}
{"actor":{"display_login":"aliuk2012"}}