fixed tenancy issue

This commit is contained in:
Denis Duliçi
2021-01-21 14:37:10 +03:00
parent 0486689134
commit b5a7457f25
3 changed files with 6 additions and 0 deletions

View File

@ -60,6 +60,8 @@ class Transaction extends Model
*/
protected static function booted()
{
parent::booted();
static::addGlobalScope(new Scope);
}