mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 17:24:03 +00:00
Don't prevent accessing missing Tenant attributes. (#1045)
This commit is contained in:
parent
26b8569761
commit
7d59ff180f
1 changed files with 2 additions and 0 deletions
|
|
@ -28,6 +28,8 @@ class Tenant extends Model implements Contracts\Tenant
|
||||||
Concerns\TenantRun,
|
Concerns\TenantRun,
|
||||||
Concerns\InvalidatesResolverCache;
|
Concerns\InvalidatesResolverCache;
|
||||||
|
|
||||||
|
protected static $modelsShouldPreventAccessingMissingAttributes = false;
|
||||||
|
|
||||||
protected $table = 'tenants';
|
protected $table = 'tenants';
|
||||||
protected $primaryKey = 'id';
|
protected $primaryKey = 'id';
|
||||||
protected $guarded = [];
|
protected $guarded = [];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue