{"action":"opened","issue":{"url":"https://api.github.com/repos/thombergs/budgeteer/issues/75","labels_url":"https://api.github.com/repos/thombergs/budgeteer/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/thombergs/budgeteer/issues/75/comments","events_url":"https://api.github.com/repos/thombergs/budgeteer/issues/75/events","html_url":"https://github.com/thombergs/budgeteer/issues/75","id":64743061,"number":75,"title":"integrity constraint violation when editing a specific budget","user":{"login":"ehhc","id":10086873,"avatar_url":"https://avatars.githubusercontent.com/u/10086873?v=3","gravatar_id":"","url":"https://api.github.com/users/ehhc","html_url":"https://github.com/ehhc","followers_url":"https://api.github.com/users/ehhc/followers","following_url":"https://api.github.com/users/ehhc/following{/other_user}","gists_url":"https://api.github.com/users/ehhc/gists{/gist_id}","starred_url":"https://api.github.com/users/ehhc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehhc/subscriptions","organizations_url":"https://api.github.com/users/ehhc/orgs","repos_url":"https://api.github.com/users/ehhc/repos","events_url":"https://api.github.com/users/ehhc/events{/privacy}","received_events_url":"https://api.github.com/users/ehhc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-27T11:30:10Z","updated_at":"2015-03-27T11:30:10Z","closed_at":null,"body":"When the user tries to edit the first budget (the budget with the id 0), he gets a  integrity constraint violation.\r\nThis is because the business-logic thinks you would like to create a new budget instead of editing a existing one. \r\nSolution: set a different start-value than 0 for the sequence that generates the budget-id.\r\n"}}