We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 248ef07 commit 828ba68Copy full SHA for 828ba68
src/Filters/TrashedFilter.php
@@ -8,7 +8,7 @@ class TrashedFilter extends SQLFilter
8
public function addFilterConstraint(ClassMetadata $metadata, $table)
9
{
10
if ($this->isSoftDeletable($metadata->rootEntityName))
11
- return "{$table}.deleted_at IS NULL OR NOW() < {$table}.deleted_at";
+ return "{$table}.deleted_at IS NULL OR CURRENT_TIMESTAMP < {$table}.deleted_at";
12
13
return '';
14
}
0 commit comments