diff --git a/src/db.php b/src/db.php index 7e70a09..bbfe559 100644 --- a/src/db.php +++ b/src/db.php @@ -2270,7 +2270,7 @@ private function convert_to_columns_object() } else { foreach ($this->_results as $row) { $_columns['Field'] = $row->name; - $_columns['Type'] = $row->type; + $_columns['Type'] = strtolower($row->type); $_columns['Null'] = $row->notnull ? "NO" : "YES"; $_columns['Key'] = $row->pk ? "PRI" : ""; $_columns['Default'] = $row->dflt_value;