{"action":"created","issue":{"url":"https://api.github.com/repos/scottwrobinson/camo/issues/78","repository_url":"https://api.github.com/repos/scottwrobinson/camo","labels_url":"https://api.github.com/repos/scottwrobinson/camo/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/scottwrobinson/camo/issues/78/comments","events_url":"https://api.github.com/repos/scottwrobinson/camo/issues/78/events","html_url":"https://github.com/scottwrobinson/camo/issues/78","id":160416974,"number":78,"title":"Unique constraint on multiple fields","user":{"login":"petersimun","id":2122928,"avatar_url":"https://avatars.githubusercontent.com/u/2122928?v=3","gravatar_id":"","url":"https://api.github.com/users/petersimun","html_url":"https://github.com/petersimun","followers_url":"https://api.github.com/users/petersimun/followers","following_url":"https://api.github.com/users/petersimun/following{/other_user}","gists_url":"https://api.github.com/users/petersimun/gists{/gist_id}","starred_url":"https://api.github.com/users/petersimun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petersimun/subscriptions","organizations_url":"https://api.github.com/users/petersimun/orgs","repos_url":"https://api.github.com/users/petersimun/repos","events_url":"https://api.github.com/users/petersimun/events{/privacy}","received_events_url":"https://api.github.com/users/petersimun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-15T13:05:02Z","updated_at":"2016-07-21T09:53:17Z","closed_at":null,"body":"i know it's possible to define in model that field is unique. Is it possible to do so over multiple columns/fields?\r\n\r\nThanks\r\nPeter"},"comment":{"url":"https://api.github.com/repos/scottwrobinson/camo/issues/comments/234208729","html_url":"https://github.com/scottwrobinson/camo/issues/78#issuecomment-234208729","issue_url":"https://api.github.com/repos/scottwrobinson/camo/issues/78","id":234208729,"user":{"login":"petersimun","id":2122928,"avatar_url":"https://avatars.githubusercontent.com/u/2122928?v=3","gravatar_id":"","url":"https://api.github.com/users/petersimun","html_url":"https://github.com/petersimun","followers_url":"https://api.github.com/users/petersimun/followers","following_url":"https://api.github.com/users/petersimun/following{/other_user}","gists_url":"https://api.github.com/users/petersimun/gists{/gist_id}","starred_url":"https://api.github.com/users/petersimun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petersimun/subscriptions","organizations_url":"https://api.github.com/users/petersimun/orgs","repos_url":"https://api.github.com/users/petersimun/repos","events_url":"https://api.github.com/users/petersimun/events{/privacy}","received_events_url":"https://api.github.com/users/petersimun/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T09:53:17Z","updated_at":"2016-07-21T09:53:17Z","body":"how? can you provide me an example please?"}}
{"actor":{"display_login":"petersimun"}}