mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 20:54:03 +00:00
Set keyType to String for Tenant
Set keyType to String for Tenant
This commit is contained in:
parent
0d14911538
commit
01c5ed3fa9
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ class Tenant extends Model implements Contracts\Tenant
|
||||||
|
|
||||||
protected $table = 'tenants';
|
protected $table = 'tenants';
|
||||||
protected $primaryKey = 'id';
|
protected $primaryKey = 'id';
|
||||||
|
protected $keyType = 'string';
|
||||||
protected $guarded = [];
|
protected $guarded = [];
|
||||||
|
|
||||||
public function getTenantKeyName(): string
|
public function getTenantKeyName(): string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue