call parent booted
This commit is contained in:
parent
dbab1d93c3
commit
3841bc755c
@ -13,6 +13,8 @@ class Bill extends Document
|
|||||||
{
|
{
|
||||||
protected static function booted()
|
protected static function booted()
|
||||||
{
|
{
|
||||||
|
parent::booted();
|
||||||
|
|
||||||
static::addGlobalScope(new ReplaceDeprecatedColumns);
|
static::addGlobalScope(new ReplaceDeprecatedColumns);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13,6 +13,8 @@ class Invoice extends Document
|
|||||||
{
|
{
|
||||||
protected static function booted()
|
protected static function booted()
|
||||||
{
|
{
|
||||||
|
parent::booted();
|
||||||
|
|
||||||
static::addGlobalScope(new ReplaceDeprecatedColumns);
|
static::addGlobalScope(new ReplaceDeprecatedColumns);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user