Add support for decimal column type (#1739)

* Add support for `decimal` column type

Previously `decimal` columns were represented with a cast. This now is no longer the case and instead the column type itself is `decimal`. This change takes that into account.

* The column type may also be `numeric`

* Update tests
This commit is contained in:
Yannick Schinko
2025-12-10 10:11:07 +01:00
committed by GitHub
parent d61d20357e
commit b106f7ee85
16 changed files with 32 additions and 30 deletions
+2
View File
@@ -584,6 +584,8 @@ class ModelsCommand extends Command
'float', 'real', 'float4',
'double', 'float8' => 'float',
'decimal', 'numeric' => 'numeric',
default => 'string',
};
}