1 put this code in model:
2
3protected static function boot() {
4 parent::boot();
5
6 static::deleting(function($offer) {
7 $offer->services()->delete();
8 });
9}
10
11And added missing
12
13 use SoftDeletes;
14protected $dates = ['deleted_at'];