Closed kb6673 closed 2 years ago
This issue is related with: https://github.com/laravel/framework/issues/33238 (Laravel only create pk inline in auto increments fields)
Optionally, you can disable sql_require_primary_key
in session of the migration.
But perhaps the best options is modify this package to convert the PK at auto Increment. This change require a new mayor release.
Totally missed that related issue, Looks like that is the cause of this,
We have a Managed MySQL Server with DigitalOcean. In it's default config it comes with system variable 'sql_require_primary_key` set. This prevents us running migrations with the following error
My only fix was this inelegant solution - changing the migration file
Other migrations run as expected - just this one.
Any suggestions?