You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting on version 11.x (6f3ddc3) , MySqlGrammar->compileColumns() started to pull generation_expression from information_schema.columns.
Problem
If you are running Laravel 11.x on a MariaDB older than 10.2, it will break because the information_schema.columns table won't have the generation_expression column.
Steps To Reproduce
Setup Laravel 11.x on a MariaDB server and try to run a Schema.hasColumn() command. It will break.
The text was updated successfully, but these errors were encountered:
Laravel Version
11.x
PHP Version
8.2.17
Database Driver & Version
No response
Description
Background
MariaDB only added the
generation_expression
column to theinformation_schema.columns
table on version 10.2 (https://jira.mariadb.org/browse/MDEV-9255).Database\Schema\Grammars\MariaDbGrammar
extendsDatabase\Schema\Grammars\MySqlGrammar
.Starting on version 11.x (6f3ddc3) ,
MySqlGrammar->compileColumns()
started to pullgeneration_expression
frominformation_schema.columns
.Problem
If you are running Laravel 11.x on a MariaDB older than 10.2, it will break because the
information_schema.columns
table won't have thegeneration_expression
column.Steps To Reproduce
Setup Laravel 11.x on a MariaDB server and try to run a
Schema.hasColumn()
command. It will break.The text was updated successfully, but these errors were encountered: