Closed basherr closed 7 years ago
Could you try replacing the following method on your observer class.
/**
* Run on deleted observer.
*
* @param \Illuminate\Database\Eloquent\Model $entity
*
* @return bool
*/
public function deleting(Model $entity)
{
parent::deleted($entity);
}
/**
* Run on deleted observer.
*
* @param \Illuminate\Database\Eloquent\Model $entity
*
* @return bool
*/
public function deleted(Model $entity)
{
//
}
@crynobone Thanks This just fixed the issue while I forgot to put that. The issue must be resolved on Orchestra Package
rather on Observers
.
I can this be resolved on 3.5
, but don't think we can introduce a breaking change on 3.4
or below right now.
When you try to perform delete on any
driver
Model, It will throw an exceptionNo query results for model [App\Company] 15
Since the code for reset migration at Factory.php is responsible for that as
Code at CompanyController