-
Notifications
You must be signed in to change notification settings - Fork 585
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
Fix Undefined property: stdClass::$column_name #179
base: master
Are you sure you want to change the base?
Conversation
Querying information_schema.columns returns upper cased column names on some versions of mysqld. This is similar to an old bug in laravel/framework. See laravel/framework#20190 Fix by changing select column_name, column_type ... to select column_name as column_name, column_type as column_type ...
I encountered the exact same error message while using xethron/migrations-generator ^2.0
--Jemmy |
I encountered this issue and the PR fixed it for me, it seems to happen specifically when running laradock, at least for me, +1 |
Okay, so any ideas how best to fix this? I'm getting this issue now for one of my tables which has an ENUM field, for whatever reason. |
Also interested in a fix for this one. |
Any chance this issue could be fixed? Or maybe even upgraded to Laravel 7.x? |
i have same problem . configuration : ErrorException in MySqlProcessor.php line 18: |
The simple workaround for now is to update the file Then the command should run through 👍 |
Querying information_schema.columns returns upper cased column names on
some versions of mysqld. This is similar to an old bug in
laravel/framework. See laravel/framework#20190
Fix by changing
select column_name, column_type ...
to
select column_name as column_name, column_type as column_type ...