Fix for new installations to prevent Integrity constraint violations
New feature lets users reference requests to api_key_id
in the api_logs
table but requests not logged will throw an SQLException SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails
because api_key_id
is not set to nullable.
Fix is simply making it nullable as described in #48.