Skip to content

Fix for new installations to prevent Integrity constraint violations

Compare
Choose a tag to compare
@awkwardusername awkwardusername released this 03 May 06:58
· 88 commits to master since this release

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.