Fix Undefined property: stdClass::$column_name#179
Fix Undefined property: stdClass::$column_name#179stuheiss wants to merge 1 commit intoXethron:masterfrom
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 ...