{"action":"created","issue":{"url":"https://api.github.com/repos/hmis-tools/hmis-api-server/issues/81","repository_url":"https://api.github.com/repos/hmis-tools/hmis-api-server","labels_url":"https://api.github.com/repos/hmis-tools/hmis-api-server/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/hmis-tools/hmis-api-server/issues/81/comments","events_url":"https://api.github.com/repos/hmis-tools/hmis-api-server/issues/81/events","html_url":"https://github.com/hmis-tools/hmis-api-server/issues/81","id":170799646,"number":81,"title":"User schema fields break standard","user":{"login":"slifty","id":208884,"avatar_url":"https://avatars.githubusercontent.com/u/208884?v=3","gravatar_id":"","url":"https://api.github.com/users/slifty","html_url":"https://github.com/slifty","followers_url":"https://api.github.com/users/slifty/followers","following_url":"https://api.github.com/users/slifty/following{/other_user}","gists_url":"https://api.github.com/users/slifty/gists{/gist_id}","starred_url":"https://api.github.com/users/slifty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slifty/subscriptions","organizations_url":"https://api.github.com/users/slifty/orgs","repos_url":"https://api.github.com/users/slifty/repos","events_url":"https://api.github.com/users/slifty/events{/privacy}","received_events_url":"https://api.github.com/users/slifty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-12T05:05:58Z","updated_at":"2016-08-12T14:06:34Z","closed_at":null,"body":"Our schema usually appends\"Id\" to foreign key fields, so `organization` should be `organizationId` and `coc` should be `cocId`. \r\n\r\nAlso we tend to reference `coc` as `coC` -- whether or not coc would be better, coC is used in most places and mixing it up is a little wonky.\r\n\r\nThis is currently defined in hmis-api-server/src/main/resources/db/migration/V029__ALTER_TMP_USER.sql -- we should create another migration file to change it."},"comment":{"url":"https://api.github.com/repos/hmis-tools/hmis-api-server/issues/comments/239455393","html_url":"https://github.com/hmis-tools/hmis-api-server/issues/81#issuecomment-239455393","issue_url":"https://api.github.com/repos/hmis-tools/hmis-api-server/issues/81","id":239455393,"user":{"login":"cecilia-donnelly","id":1497818,"avatar_url":"https://avatars.githubusercontent.com/u/1497818?v=3","gravatar_id":"","url":"https://api.github.com/users/cecilia-donnelly","html_url":"https://github.com/cecilia-donnelly","followers_url":"https://api.github.com/users/cecilia-donnelly/followers","following_url":"https://api.github.com/users/cecilia-donnelly/following{/other_user}","gists_url":"https://api.github.com/users/cecilia-donnelly/gists{/gist_id}","starred_url":"https://api.github.com/users/cecilia-donnelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cecilia-donnelly/subscriptions","organizations_url":"https://api.github.com/users/cecilia-donnelly/orgs","repos_url":"https://api.github.com/users/cecilia-donnelly/repos","events_url":"https://api.github.com/users/cecilia-donnelly/events{/privacy}","received_events_url":"https://api.github.com/users/cecilia-donnelly/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T14:06:34Z","updated_at":"2016-08-12T14:06:34Z","body":"@slifty thanks for pointing this out.  I will fix it.  Do you think it's worth creating the organization and CoC tables at the same time, so the foreign keys have somewhere to point to?"}}
{"actor":{"display_login":"cecilia-donnelly"}}