Compare commits

..
Author SHA1 Message Date
Barry vd. Heuvel f98cbbd86c Fix phpdocs 2024-10-28 12:18:07 +01:00
Barry vd. Heuvel 4ca8db247f Changelog 2024-10-28 12:11:51 +01:00
Barry vd. Heuvel 29f874381e Smarter reset 2024-10-28 12:09:38 +01:00
3 changed files with 1 additions and 5 deletions
-2
View File
@@ -8,8 +8,6 @@ All notable changes to this project will be documented in this file.
### Changed
- Add support for multiple pivot types when using the same accessor.
- Smarter reset, keep tags that IDE helper doesn't use
- Use `numeric` type on fields with `decimal` casts
2024-10-18, 3.2.0
--------------
-2
View File
@@ -381,8 +381,6 @@ class ModelsCommand extends Command
$realType = 'bool';
break;
case 'decimal':
$realType = 'numeric';
break;
case 'string':
case 'hashed':
$realType = 'string';
@@ -14,7 +14,7 @@ use Illuminate\Database\Eloquent\Model;
* @property float $cast_to_real
* @property float $cast_to_float
* @property float $cast_to_double
* @property numeric $cast_to_decimal
* @property string $cast_to_decimal
* @property string $cast_to_string
* @property bool $cast_to_bool
* @property bool $cast_to_boolean