Skip to content

Member model is now customizable

Pre-release
Pre-release
Compare
Choose a tag to compare
@xaviqv xaviqv released this 26 Aug 18:04
· 719 commits to master since this release
d73feb6

After this release specific changes, it is important that you read the recommended changes section.

Code changes

Patches

PanicHD Member model

  • Turned back to use "users" table instead of "panichd_members" view. We've deleted the migration that creates "panichd_members"
  • Added \PanicHDMember alias and replaced all calls to the Member model with it. By default it refferences the Member model in the package

Recommended changes in your Laravel App

  • References in your code to "PanicHD\PanicHD\Models\Member" are better to be replaced with our new "\PanicHDMember" alias. Older code will keep working if you don't use other table for PanicHD members than Laravel auth default "users"
  • If you were not using or don't want to use Laravel "users" table for PanicHD Members, you'll have to follow the specified steps in our wiki to use a custom Member model.
  • If you're not going to use "panichd_members" database view anymore, you may delete it from your database.