{"action":"created","comment":{"url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/pulls/comments/229777376","pull_request_review_id":170358421,"id":229777376,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTc3NzM3Ng==","diff_hunk":"@@ -0,0 +1,8 @@\n+class SplitObservationLevelDetails < ActiveRecord::Migration[5.2]\n+  def change\n+    remove_column :risks, :observation_level_details, :text\n+    add_column :risks, :observation_level2_details, :text","path":"db/migrate/20181031141018_split_observation_level_details.rb","position":4,"original_position":4,"commit_id":"2d48e0075765b385eef9f3754acb6ec69db147de","original_commit_id":"2d48e0075765b385eef9f3754acb6ec69db147de","user":{"login":"doctorpod","id":2333296,"node_id":"MDQ6VXNlcjIzMzMyOTY=","avatar_url":"https://avatars2.githubusercontent.com/u/2333296?v=4","gravatar_id":"","url":"https://api.github.com/users/doctorpod","html_url":"https://github.com/doctorpod","followers_url":"https://api.github.com/users/doctorpod/followers","following_url":"https://api.github.com/users/doctorpod/following{/other_user}","gists_url":"https://api.github.com/users/doctorpod/gists{/gist_id}","starred_url":"https://api.github.com/users/doctorpod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctorpod/subscriptions","organizations_url":"https://api.github.com/users/doctorpod/orgs","repos_url":"https://api.github.com/users/doctorpod/repos","events_url":"https://api.github.com/users/doctorpod/events{/privacy}","received_events_url":"https://api.github.com/users/doctorpod/received_events","type":"User","site_admin":false},"body":"I think the best way forward to revert back to a single observation_level_detail attribute is the form approach as I already spent a lot of time trying to wrestle the new Gov UK JS into the shape we want. ","created_at":"2018-10-31T16:45:31Z","updated_at":"2018-10-31T16:45:31Z","html_url":"https://github.com/ministryofjustice/moving-people-safely/pull/569#discussion_r229777376","pull_request_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/pulls/569","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/moving-people-safely/pulls/comments/229777376"},"html":{"href":"https://github.com/ministryofjustice/moving-people-safely/pull/569#discussion_r229777376"},"pull_request":{"href":"https://api.github.com/repos/ministryofjustice/moving-people-safely/pulls/569"}},"in_reply_to_id":229771472},"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/pulls/569","id":225402151,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1NDAyMTUx","html_url":"https://github.com/ministryofjustice/moving-people-safely/pull/569","diff_url":"https://github.com/ministryofjustice/moving-people-safely/pull/569.diff","patch_url":"https://github.com/ministryofjustice/moving-people-safely/pull/569.patch","issue_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/issues/569","number":569,"state":"open","locked":false,"title":"Update police suicide and add observation level question","user":{"login":"doctorpod","id":2333296,"node_id":"MDQ6VXNlcjIzMzMyOTY=","avatar_url":"https://avatars2.githubusercontent.com/u/2333296?v=4","gravatar_id":"","url":"https://api.github.com/users/doctorpod","html_url":"https://github.com/doctorpod","followers_url":"https://api.github.com/users/doctorpod/followers","following_url":"https://api.github.com/users/doctorpod/following{/other_user}","gists_url":"https://api.github.com/users/doctorpod/gists{/gist_id}","starred_url":"https://api.github.com/users/doctorpod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctorpod/subscriptions","organizations_url":"https://api.github.com/users/doctorpod/orgs","repos_url":"https://api.github.com/users/doctorpod/repos","events_url":"https://api.github.com/users/doctorpod/events{/privacy}","received_events_url":"https://api.github.com/users/doctorpod/received_events","type":"User","site_admin":false},"body":"Ticket: https://trello.com/c/GTN5DnB0","created_at":"2018-10-24T13:25:18Z","updated_at":"2018-10-31T16:45:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5efdbb5593b6dd7af29b972faa8692325972d34","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/pulls/569/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/pulls/569/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/issues/569/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/statuses/2d48e0075765b385eef9f3754acb6ec69db147de","head":{"label":"ministryofjustice:police-suicide-question","ref":"police-suicide-question","sha":"2d48e0075765b385eef9f3754acb6ec69db147de","user":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","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":61026442,"node_id":"MDEwOlJlcG9zaXRvcnk2MTAyNjQ0Mg==","name":"moving-people-safely","full_name":"ministryofjustice/moving-people-safely","private":false,"owner":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","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},"html_url":"https://github.com/ministryofjustice/moving-people-safely","description":"Moving People Safely - Digital Person Escort Record","fork":false,"url":"https://api.github.com/repos/ministryofjustice/moving-people-safely","forks_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/forks","keys_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/events","assignees_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/merges","archive_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/deployments","created_at":"2016-06-13T10:10:06Z","updated_at":"2018-10-31T11:10:14Z","pushed_at":"2018-10-31T16:35:28Z","git_url":"git://github.com/ministryofjustice/moving-people-safely.git","ssh_url":"git@github.com:ministryofjustice/moving-people-safely.git","clone_url":"https://github.com/ministryofjustice/moving-people-safely.git","svn_url":"https://github.com/ministryofjustice/moving-people-safely","homepage":"","size":3610,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":7,"watchers":2,"default_branch":"master"}},"base":{"label":"ministryofjustice:master","ref":"master","sha":"d4141a4cc02fc1465d42034d033009518020e826","user":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","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":61026442,"node_id":"MDEwOlJlcG9zaXRvcnk2MTAyNjQ0Mg==","name":"moving-people-safely","full_name":"ministryofjustice/moving-people-safely","private":false,"owner":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","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},"html_url":"https://github.com/ministryofjustice/moving-people-safely","description":"Moving People Safely - Digital Person Escort Record","fork":false,"url":"https://api.github.com/repos/ministryofjustice/moving-people-safely","forks_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/forks","keys_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/events","assignees_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/merges","archive_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/moving-people-safely/deployments","created_at":"2016-06-13T10:10:06Z","updated_at":"2018-10-31T11:10:14Z","pushed_at":"2018-10-31T16:35:28Z","git_url":"git://github.com/ministryofjustice/moving-people-safely.git","ssh_url":"git@github.com:ministryofjustice/moving-people-safely.git","clone_url":"https://github.com/ministryofjustice/moving-people-safely.git","svn_url":"https://github.com/ministryofjustice/moving-people-safely","homepage":"","size":3610,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":7,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/moving-people-safely/pulls/569"},"html":{"href":"https://github.com/ministryofjustice/moving-people-safely/pull/569"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/moving-people-safely/issues/569"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/moving-people-safely/issues/569/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/moving-people-safely/pulls/569/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/moving-people-safely/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/moving-people-safely/pulls/569/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/moving-people-safely/statuses/2d48e0075765b385eef9f3754acb6ec69db147de"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"doctorpod"}}