Use int/bool instead of longer variant (#1524)

* Use int/bool instead of longer variant

* Add changelog

* Update snapshots
This commit is contained in:
Barry vd. Heuvel
2024-02-19 12:39:07 +01:00
committed by GitHub
parent 9af62e243d
commit d7ed749f3e
32 changed files with 387 additions and 384 deletions
+4 -4
View File
@@ -378,7 +378,7 @@ class ModelsCommand extends Command
break;
case 'boolean':
case 'bool':
$realType = 'boolean';
$realType = 'bool';
break;
case 'decimal':
case 'string':
@@ -394,7 +394,7 @@ class ModelsCommand extends Command
case 'int':
case 'integer':
case 'timestamp':
$realType = 'integer';
$realType = 'int';
break;
case 'real':
case 'double':
@@ -521,9 +521,9 @@ class ModelsCommand extends Command
'integer', 'int', 'int4',
'smallint', 'int2',
'mediumint',
'bigint', 'int8' => 'integer',
'bigint', 'int8' => 'int',
'boolean', 'bool' => 'boolean',
'boolean', 'bool' => 'bool',
'float', 'real', 'float4',
'double', 'float8' => 'float',