{"action":"closed","issue":{"url":"https://api.github.com/repos/chrisbjr/api-guard/issues/48","labels_url":"https://api.github.com/repos/chrisbjr/api-guard/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/chrisbjr/api-guard/issues/48/comments","events_url":"https://api.github.com/repos/chrisbjr/api-guard/issues/48/events","html_url":"https://github.com/chrisbjr/api-guard/issues/48","id":72761027,"number":48,"title":"SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails - on any request","user":{"login":"awkwardusername","id":2331465,"avatar_url":"https://avatars.githubusercontent.com/u/2331465?v=3","gravatar_id":"","url":"https://api.github.com/users/awkwardusername","html_url":"https://github.com/awkwardusername","followers_url":"https://api.github.com/users/awkwardusername/followers","following_url":"https://api.github.com/users/awkwardusername/following{/other_user}","gists_url":"https://api.github.com/users/awkwardusername/gists{/gist_id}","starred_url":"https://api.github.com/users/awkwardusername/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awkwardusername/subscriptions","organizations_url":"https://api.github.com/users/awkwardusername/orgs","repos_url":"https://api.github.com/users/awkwardusername/repos","events_url":"https://api.github.com/users/awkwardusername/events{/privacy}","received_events_url":"https://api.github.com/users/awkwardusername/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrisbjr/api-guard/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-03T06:53:21Z","updated_at":"2015-05-03T06:54:38Z","closed_at":"2015-05-03T06:54:38Z","body":"Caused by a feature in v2.2[5a2676c] because previously, `api_key_id` in the `api_logs` table is not nullable.\r\n\r\nFIX is to set it obviously to `nullable`"}}