{"action":"opened","issue":{"url":"https://api.github.com/repos/translate/pootle/issues/3834","labels_url":"https://api.github.com/repos/translate/pootle/issues/3834/labels{/name}","comments_url":"https://api.github.com/repos/translate/pootle/issues/3834/comments","events_url":"https://api.github.com/repos/translate/pootle/issues/3834/events","html_url":"https://github.com/translate/pootle/issues/3834","id":89034260,"number":3834,"title":"Add unique constraint on `Store.file` field","user":{"login":"ta2-1","id":682845,"avatar_url":"https://avatars.githubusercontent.com/u/682845?v=3","gravatar_id":"","url":"https://api.github.com/users/ta2-1","html_url":"https://github.com/ta2-1","followers_url":"https://api.github.com/users/ta2-1/followers","following_url":"https://api.github.com/users/ta2-1/following{/other_user}","gists_url":"https://api.github.com/users/ta2-1/gists{/gist_id}","starred_url":"https://api.github.com/users/ta2-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ta2-1/subscriptions","organizations_url":"https://api.github.com/users/ta2-1/orgs","repos_url":"https://api.github.com/users/ta2-1/repos","events_url":"https://api.github.com/users/ta2-1/events{/privacy}","received_events_url":"https://api.github.com/users/ta2-1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-17T14:31:25Z","updated_at":"2015-06-17T14:31:25Z","closed_at":null,"body":"There is an unique constraint on `Store.pootle_path` field. \r\nBut it is allowed to save a `Store` object with the same file path. \r\nI faced with such thing while testing of #3783. There shouldn't be a case after we fix the issue but it's worth to add extra constraint for reliability.\r\n"}}