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:
parent
1833622170
commit
7a7200fd25
4 changed files with 16 additions and 14 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue