feat: use numeric type on fields with decimal casts (#1583)

* feat: use `numeric` type on fields with `decimal` casts

* docs: update CHANGELOG.md

---------

Co-authored-by: Barry vd. Heuvel <[email protected]>
This commit is contained in:
Ramon Dantas
2024-10-28 12:32:31 +01:00
committed by GitHub
co-authored by Barry vd. Heuvel
parent 7549f58a30
commit 800e2347a6
3 changed files with 5 additions and 1 deletions
+2
View File
@@ -381,6 +381,8 @@ class ModelsCommand extends Command
$realType = 'bool';
break;
case 'decimal':
$realType = 'numeric';
break;
case 'string':
case 'hashed':
$realType = 'string';