-
-
Notifications
You must be signed in to change notification settings - Fork 714
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown data type: 'uuid' after Laravel 11 update #1317
Comments
It seems your MariaDB version is too old. UUID column type support has been added in 10.7. |
I'm getting this same error, but we're running MySQL 8.0.30 |
I don't use MySQL but it appears the UUID column data type is not supported at all in any version 🤷 They show using BINARY(16) as an equivalent. |
@SlimDeluxe I think you're right. MySQL doesn't seem to natively support UUID data type. What's strange is we noticed this issue on our staging server, but locally I'm using docker image Based on the blog post you linked it seems |
Describe the bug
Getting error of "unknown data type "uuid"
To Reproduce
php artisan migrate
in command lineExpected behavior
Be able to run migrations without an error.
Versions (please complete the following information)
Exception
General error: 4161 Unknown data type: 'uuid' (Connection: mariadb, SQL: alter table
activity_logadd
batch_uuiduuid null after
properties)
Stack Trace
The text was updated successfully, but these errors were encountered: