diff --git a/src/Leevel/Database/Ddd/Select.php b/src/Leevel/Database/Ddd/Select.php
index <HASH>..<HASH> 100644
--- a/src/Leevel/Database/Ddd/Select.php
+++ b/src/Leevel/Database/Ddd/Select.php
@@ -262,7 +262,7 @@ class Select
     public function softRestore(): int
     {
         $this->entity->handleEvent(IEntity::BEFORE_SOFT_RESTORE_EVENT);
-        $this->entity->__set($this->deleteAtColumn(), null);
+        $this->entity->__set($this->deleteAtColumn(), 0);
         $num = $this->entity->update()->flush();
         $this->entity->handleEvent(IEntity::AFTER_SOFT_RESTORE_EVENT);
tests(database): fix SQLSTATE[<I>]: Integrity constraint violation: <I> Column 'delete_at' cannot be null