Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 291 Bytes

UPGRADING.md

File metadata and controls

15 lines (11 loc) · 291 Bytes

Upgrade guide

From v1.x to 2.x

  • Both Traits have been renamed, you can update your Model classes like:
- use Ankurk91\Eloquent\BelongsToOne;
+ use Ankurk91\Eloquent\HasBelongsToOne;
- use Ankurk91\Eloquent\MorphToOne;
+ use Ankurk91\Eloquent\HasMorphToOne;