You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This blew up every one of my PHPUnit tests in my Laravel app, all errored with ErrorException: Undefined array key -1. Downgrading to v3.3.8 resolved it. Probably not much useful info here, but its all I've got.
Bug Report
Summary
Invalid alter table SQL is generated for SQLite when an unnamed foreign key constraint exists.
Current behaviour
How to reproduce
Here's an example of the issue in a Laravel project https://github.com/workhouse-advertising/laravel-sqlite-bug
Expected behaviour
Either the
CONSTRAINT 0
portion needs to be omitted or perhaps the key name needs to be quoted like soCONSTRAINT '0'
, whichever is valid.The text was updated successfully, but these errors were encountered: