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

[2.x] Make Domain's model domain key as a primary (#141)

* Make Domain's model domain key as a primary

* Remove comments
This commit is contained in:
Anton Komarev 2019-09-26 19:04:39 +03:00 committed by Samuel Štancl
parent 3f4018f93c
commit ee06ff296e
2 changed files with 3 additions and 3 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;