1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 20:44:03 +00:00

Minor fixes for using the package in an app

This commit is contained in:
Samuel Štancl 2020-05-16 11:56:32 +02:00
parent 1833622170
commit 7a7200fd25
4 changed files with 16 additions and 14 deletions

View file

@ -26,8 +26,8 @@ class Tenant extends Model implements Contracts\Tenant
}
protected $table = 'tenants';
public $primaryKey = 'id';
public $guarded = [];
protected $primaryKey = 'id';
protected $guarded = [];
public function getTenantKeyName(): string
{