mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 10:07:12 +00:00
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:
co-authored by
Barry vd. Heuvel
parent
7549f58a30
commit
800e2347a6
@@ -381,6 +381,8 @@ class ModelsCommand extends Command
|
||||
$realType = 'bool';
|
||||
break;
|
||||
case 'decimal':
|
||||
$realType = 'numeric';
|
||||
break;
|
||||
case 'string':
|
||||
case 'hashed':
|
||||
$realType = 'string';
|
||||
|
||||
Reference in New Issue
Block a user