3.0.0
Upgrade instructions from v2 to v3
Added
Changed
Cog\Ban\Contracts\Ban
moved toCog\Contracts\Ban\Ban
Cog\Ban\Contracts\HasBans
moved toCog\Contracts\Ban\HasBans
Cog\Ban\Contracts\BanService
moved toCog\Contracts\Ban\BanService
- All classes namespaces moved from
Cog\Ban\*
toCog\Laravel\Ban\*
- Renamed database table
ban
tobans
- Renamed database column
owned_by_id
tobannable_id
- Renamed database column
owned_by_type
tobannable_type
- Renamed trait
HasBans
toBannable
- Renamed contract
HasBans
toBannable
- Renamed
Ban::whereOwnedBy($bannable)
toBan::whereBannable($bannable)
- Renamed Ban model relation
ownedBy
tobannable
Removed
- Dropped Laravel Ownership Dependency (#9)
- Removed
owner
method from Ban model - Removed
getOwner
method from Ban model