1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 09:54:05 +00:00

Don't prevent accessing missing Tenant attributes.

This commit is contained in:
Joel Stein 2023-01-12 10:37:42 -06:00 committed by GitHub
parent 84a3287799
commit d9614c58e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = [];