added trait to custom models #1433

This commit is contained in:
denisdulici
2020-05-02 14:53:06 +03:00
parent 8120e3f0e3
commit 93e05ea6f5
4 changed files with 8 additions and 4 deletions

View File

@ -2,6 +2,7 @@
namespace App\Models\Auth;
use App\Traits\Tenants;
use App\Notifications\Auth\Reset;
use App\Traits\Media;
use Date;
@ -15,7 +16,7 @@ use Lorisleiva\LaravelSearchString\Concerns\SearchString;
class User extends Authenticatable
{
use LaratrustUserTrait, Notifiable, SearchString, SoftDeletes, Sortable, Media;
use LaratrustUserTrait, Notifiable, SearchString, SoftDeletes, Sortable, Media, Tenants;
protected $table = 'users';