fix migration and api changes

This commit is contained in:
yogesh-gohil
2023-03-14 17:45:58 +05:30
parent aede1f76d0
commit 2bea727d19
4 changed files with 46 additions and 61 deletions

View File

@ -25,11 +25,6 @@ class MailSender extends Model
return $this->belongsTo(Company::class);
}
public function setSettingsAttribute($value)
{
$this->attributes['settings'] = json_encode($value);
}
public function scopeWhereOrder($query, $orderByField, $orderBy)
{
$query->orderBy($orderByField, $orderBy);