fix mysql8.0 table_type 是枚举类型bug

This commit is contained in:
feraner
2020-07-03 16:36:08 +08:00
parent b152f0cbe3
commit 87d247354d

View File

@@ -48,7 +48,7 @@ class TableSchema
{
$builder = $this->getSchemaBuilder($pool);
$ret = $builder->getConnection()
->select("select table_name from information_schema.tables where table_schema=? and table_type='base table';", [
->select("select table_name from information_schema.tables where table_schema=? and table_type='BASE TABLE';", [
$database,
]);