Skip to content

Commit

Permalink
Don't prevent accessing missing Tenant attributes. (archtechx#1045)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelstein authored Feb 1, 2023
1 parent 26b8569 commit 7d59ff1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Database/Models/Tenant.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ class Tenant extends Model implements Contracts\Tenant
Concerns\TenantRun,
Concerns\InvalidatesResolverCache;

protected static $modelsShouldPreventAccessingMissingAttributes = false;

protected $table = 'tenants';
protected $primaryKey = 'id';
protected $guarded = [];
Expand Down

0 comments on commit 7d59ff1

Please sign in to comment.