fixed tenancy issue
This commit is contained in:
parent
0486689134
commit
b5a7457f25
@ -60,6 +60,8 @@ class Transaction extends Model
|
||||
*/
|
||||
protected static function booted()
|
||||
{
|
||||
parent::booted();
|
||||
|
||||
static::addGlobalScope(new Scope);
|
||||
}
|
||||
|
||||
|
@ -49,6 +49,8 @@ class Contact extends Model
|
||||
*/
|
||||
protected static function booted()
|
||||
{
|
||||
parent::booted();
|
||||
|
||||
static::addGlobalScope(new Scope);
|
||||
}
|
||||
|
||||
|
@ -79,6 +79,8 @@ class Document extends Model
|
||||
*/
|
||||
protected static function booted()
|
||||
{
|
||||
parent::booted();
|
||||
|
||||
static::addGlobalScope(new Scope);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user