Fügen Sie Softdelete in ModelData Laravel hinzu

<? php
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class customModel extends Model{
	use SoftDeletes;
    // your other code goes here
}
Caroline Mwasigala