diff --git a/src/SoftDeletingBooleanScope.php b/src/SoftDeletingBooleanScope.php index e31102e..a910f0d 100644 --- a/src/SoftDeletingBooleanScope.php +++ b/src/SoftDeletingBooleanScope.php @@ -45,7 +45,7 @@ public function extend(Builder $builder) } $builder->onDelete(function (Builder $builder) { - $column = $this->getDeletedAtColumn($builder); + $column = $this->getIsDeletedColumn($builder); return $builder->update([ $column => $builder->getModel()->freshTimestampString(),