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

Make Domain's model domain key as a primary

This commit is contained in:
antonkomarev 2019-09-26 18:42:54 +03:00
parent 3f4018f93c
commit 6656ca6570
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ class DomainModel extends Model
use CentralConnection;
protected $guarded = [];
protected $primaryKey = 'id';
protected $primaryKey = 'domain';
public $incrementing = false;
public $timestamps = false;