This repository has been archived by the owner on May 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Default database migration isn't compatible with MySQL #122
Comments
Thanks for the post. I got stuck on the same issue. Changing "plan_subscription_schedules" to "subscription_schedules" resolved the issue. This was on MariaDB 10.6.7 |
Hello, It has a name to make it shorter "unique_plan_subscription_keys", but maybe mariaDB does not support it. |
Merged
2 tasks
Found that the bug was not the unique index but in |
Hi @bpuig
|
Then maybe you should check this: https://laravel.com/docs/9.x/migrations#index-lengths-mysql-mariadb |
@bpuig Yes that's the problem Thanks |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The following migration with default table settings producing MySQL error:
Workaround is to edit default table name in config/shubby.php to a shorter one.
The text was updated successfully, but these errors were encountered: