Dodaj softdelete w modeluData laravel
<? php
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class customModel extends Model{
use SoftDeletes;
// your other code goes here
}
Caroline Mwasigala