{"action":"opened","issue":{"url":"https://api.github.com/repos/gocardless/statesman/issues/174","labels_url":"https://api.github.com/repos/gocardless/statesman/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/gocardless/statesman/issues/174/comments","events_url":"https://api.github.com/repos/gocardless/statesman/issues/174/events","html_url":"https://github.com/gocardless/statesman/issues/174","id":90654808,"number":174,"title":"Mysql2::Error: Duplicate entry","user":{"login":"breiko83","id":598231,"avatar_url":"https://avatars.githubusercontent.com/u/598231?v=3","gravatar_id":"","url":"https://api.github.com/users/breiko83","html_url":"https://github.com/breiko83","followers_url":"https://api.github.com/users/breiko83/followers","following_url":"https://api.github.com/users/breiko83/following{/other_user}","gists_url":"https://api.github.com/users/breiko83/gists{/gist_id}","starred_url":"https://api.github.com/users/breiko83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breiko83/subscriptions","organizations_url":"https://api.github.com/users/breiko83/orgs","repos_url":"https://api.github.com/users/breiko83/repos","events_url":"https://api.github.com/users/breiko83/events{/privacy}","received_events_url":"https://api.github.com/users/breiko83/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-24T11:53:02Z","updated_at":"2015-06-24T11:53:02Z","closed_at":null,"body":"Switching my project from development (sqlite) to production (mysql) I get this error in a state transition.\r\n\r\n    Mysql2::Error: Duplicate entry '7-0' for key 'index_deal_transitions_parent_most_recent'\r\n\r\n"}}