{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/15","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/15/comments","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/15/events","html_url":"https://github.com/alphagov/digitalmarketplace-api/pull/15","id":55507316,"number":15,"title":"Add new db fields","user":{"login":"TheDoubleK","id":6525554,"avatar_url":"https://avatars.githubusercontent.com/u/6525554?v=3","gravatar_id":"","url":"https://api.github.com/users/TheDoubleK","html_url":"https://github.com/TheDoubleK","followers_url":"https://api.github.com/users/TheDoubleK/followers","following_url":"https://api.github.com/users/TheDoubleK/following{/other_user}","gists_url":"https://api.github.com/users/TheDoubleK/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDoubleK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDoubleK/subscriptions","organizations_url":"https://api.github.com/users/TheDoubleK/orgs","repos_url":"https://api.github.com/users/TheDoubleK/repos","events_url":"https://api.github.com/users/TheDoubleK/events{/privacy}","received_events_url":"https://api.github.com/users/TheDoubleK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-26T16:57:06Z","updated_at":"2015-01-27T11:37:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/pulls/15","html_url":"https://github.com/alphagov/digitalmarketplace-api/pull/15","diff_url":"https://github.com/alphagov/digitalmarketplace-api/pull/15.diff","patch_url":"https://github.com/alphagov/digitalmarketplace-api/pull/15.patch"},"body":"In order to support a select-all-services-for-supplier API endpoint it will be useful to include supplier_id as an explicit field in the database. \r\n\r\nSee: https://www.pivotaltracker.com/story/show/86911238"},"comment":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/comments/71632998","html_url":"https://github.com/alphagov/digitalmarketplace-api/pull/15#issuecomment-71632998","issue_url":"https://api.github.com/repos/alphagov/digitalmarketplace-api/issues/15","id":71632998,"user":{"login":"robyoung","id":14287,"avatar_url":"https://avatars.githubusercontent.com/u/14287?v=3","gravatar_id":"","url":"https://api.github.com/users/robyoung","html_url":"https://github.com/robyoung","followers_url":"https://api.github.com/users/robyoung/followers","following_url":"https://api.github.com/users/robyoung/following{/other_user}","gists_url":"https://api.github.com/users/robyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/robyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robyoung/subscriptions","organizations_url":"https://api.github.com/users/robyoung/orgs","repos_url":"https://api.github.com/users/robyoung/repos","events_url":"https://api.github.com/users/robyoung/events{/privacy}","received_events_url":"https://api.github.com/users/robyoung/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T11:37:03Z","updated_at":"2015-01-27T11:37:03Z","body":"I think it should have at least tests that verifies that the correct value is being put into the `service_id` field and that the temporal fields are updated correctly. They seem pretty tiny and obvious now but it's more to catch regressions in the future."}}