Releases: Triun/laravel-model-base
Releases · Triun/laravel-model-base
v6.0.9
Added
- phpDoc of nullable values.
- Additional phpDoc description of the database type.
v6.0.8
Changed
- Normalise value types
real
and double
as float
.
Fixed
- BIGINT to
float|int
in phpDoc.
- Primary keys can be forced to be
string
and the phpDoc as string|float
or string|int
to avoid Laravel issues.
v6.0.7
Fixed
- Force type conversion to either
int
or string
, in model primary type, in order to avoid types or code issues.
v6.0.6
Added
- Ability to choose between short types (
int
, bool
) or long types (integer
, boolean
) which are equivalent for both Laravel and phpDoc.
v6.0.5
Change
- Change back
double
as float
as either double
, float
or real
are the same in PHP.
Fixed
v6.0.4
Added
- New helpers: DBALHelper and TypeHelper.
Changed
- SchemaUtil refactoring with breaking changes.
Fixed
- Model
keyType
fix: use laravel types instead of database types.
v6.0.3
Added
- Ability to customize phpDoc properties types.
Fixes
- Move the custom interfaces, traits, uses, and the new phpDoc into the model, to avoid traits errors.
v6.0.2
Added
- Custom interfaces, traits, and uses.
Changed
Fixes
v5.8.4
Added
Changed
- Unify model class and base class into one stud.
v5.8.3
Added
- Custom interfaces, traits, uses and phpDoc tags type and description.