{"action":"created","issue":{"url":"https://api.github.com/repos/almighty/almighty-core/issues/222","repository_url":"https://api.github.com/repos/almighty/almighty-core","labels_url":"https://api.github.com/repos/almighty/almighty-core/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/almighty/almighty-core/issues/222/comments","events_url":"https://api.github.com/repos/almighty/almighty-core/issues/222/events","html_url":"https://github.com/almighty/almighty-core/pull/222","id":175527882,"number":222,"title":"WIP: Avoid duplicate tracker items while importing","user":{"login":"baijum","id":121129,"avatar_url":"https://avatars.githubusercontent.com/u/121129?v=3","gravatar_id":"","url":"https://api.github.com/users/baijum","html_url":"https://github.com/baijum","followers_url":"https://api.github.com/users/baijum/followers","following_url":"https://api.github.com/users/baijum/following{/other_user}","gists_url":"https://api.github.com/users/baijum/gists{/gist_id}","starred_url":"https://api.github.com/users/baijum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baijum/subscriptions","organizations_url":"https://api.github.com/users/baijum/orgs","repos_url":"https://api.github.com/users/baijum/repos","events_url":"https://api.github.com/users/baijum/events{/privacy}","received_events_url":"https://api.github.com/users/baijum/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/almighty/almighty-core/labels/bug","name":"bug","color":"cccccc"}],"state":"open","locked":false,"assignee":{"login":"baijum","id":121129,"avatar_url":"https://avatars.githubusercontent.com/u/121129?v=3","gravatar_id":"","url":"https://api.github.com/users/baijum","html_url":"https://github.com/baijum","followers_url":"https://api.github.com/users/baijum/followers","following_url":"https://api.github.com/users/baijum/following{/other_user}","gists_url":"https://api.github.com/users/baijum/gists{/gist_id}","starred_url":"https://api.github.com/users/baijum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baijum/subscriptions","organizations_url":"https://api.github.com/users/baijum/orgs","repos_url":"https://api.github.com/users/baijum/repos","events_url":"https://api.github.com/users/baijum/events{/privacy}","received_events_url":"https://api.github.com/users/baijum/received_events","type":"User","site_admin":false},"assignees":[{"login":"baijum","id":121129,"avatar_url":"https://avatars.githubusercontent.com/u/121129?v=3","gravatar_id":"","url":"https://api.github.com/users/baijum","html_url":"https://github.com/baijum","followers_url":"https://api.github.com/users/baijum/followers","following_url":"https://api.github.com/users/baijum/following{/other_user}","gists_url":"https://api.github.com/users/baijum/gists{/gist_id}","starred_url":"https://api.github.com/users/baijum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baijum/subscriptions","organizations_url":"https://api.github.com/users/baijum/orgs","repos_url":"https://api.github.com/users/baijum/repos","events_url":"https://api.github.com/users/baijum/events{/privacy}","received_events_url":"https://api.github.com/users/baijum/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2016-09-07T15:07:29Z","updated_at":"2016-10-12T05:01:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/almighty/almighty-core/pulls/222","html_url":"https://github.com/almighty/almighty-core/pull/222","diff_url":"https://github.com/almighty/almighty-core/pull/222.diff","patch_url":"https://github.com/almighty/almighty-core/pull/222.patch"},"body":"fixes #193\r\n\r\n- [x] Schema Migration for tracker_items table\r\n- [x] Add table constraint: unique(remote item id, tracker id, project id)"},"comment":{"url":"https://api.github.com/repos/almighty/almighty-core/issues/comments/253119624","html_url":"https://github.com/almighty/almighty-core/pull/222#issuecomment-253119624","issue_url":"https://api.github.com/repos/almighty/almighty-core/issues/222","id":253119624,"user":{"login":"baijum","id":121129,"avatar_url":"https://avatars.githubusercontent.com/u/121129?v=3","gravatar_id":"","url":"https://api.github.com/users/baijum","html_url":"https://github.com/baijum","followers_url":"https://api.github.com/users/baijum/followers","following_url":"https://api.github.com/users/baijum/following{/other_user}","gists_url":"https://api.github.com/users/baijum/gists{/gist_id}","starred_url":"https://api.github.com/users/baijum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baijum/subscriptions","organizations_url":"https://api.github.com/users/baijum/orgs","repos_url":"https://api.github.com/users/baijum/repos","events_url":"https://api.github.com/users/baijum/events{/privacy}","received_events_url":"https://api.github.com/users/baijum/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T05:01:54Z","updated_at":"2016-10-12T05:01:54Z","body":"@aslakknutsen I have added the schema migrations. Please review it.\r\n\r\nWe don't have the notion of a project yet ( #19 ). So, the only unique constraint is a combination of remote item id and tracker id.  Later when we introduce the project, we can add that as part of the constraint."}}
{"actor":{"display_login":"baijum"}}