moved company scope to trait

This commit is contained in:
Denis Duliçi
2021-01-28 14:29:43 +03:00
parent 242706a3fb
commit 8515982cc7
7 changed files with 12 additions and 30 deletions

View File

@ -13,8 +13,6 @@ class Bill extends Document
{
protected static function booted()
{
parent::booted();
static::addGlobalScope(new ReplaceDeprecatedColumns);
}