We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2ec26f commit 3fb8db2Copy full SHA for 3fb8db2
src/Schema.php
@@ -381,7 +381,7 @@ protected function loadResultColumn(array $info): ColumnInterface|null
381
return null;
382
}
383
384
- $dbType = match($info['native_type']) {
+ $dbType = match ($info['native_type']) {
385
'TINY' => 'tinyint',
386
'SHORT' => 'smallint',
387
'INT24' => 'mediumint',
@@ -390,7 +390,7 @@ protected function loadResultColumn(array $info): ColumnInterface|null
390
'NEWDECIMAL' => 'decimal',
391
'STRING' => 'char',
392
'VAR_STRING' => 'varchar',
393
- 'BLOB' => match($info['len']) {
+ 'BLOB' => match ($info['len']) {
394
255 => 'tinyblob',
395
510, 765, 1020 => 'tinytext',
396
// 65535 => 'blob',
0 commit comments