select whereDate to where
This commit is contained in:
1 parent
79271f22e1
commit
d58d543583
15 files changed
+61
-61
No files matched your search
@@ -24,7 +24,7 @@ class Fixtures
|
||||
/**
|
||||
* Delete Started
|
||||
*/
|
||||
$info = Mapper::whereDate('starttime', '<', Carbon::now()->subHours(24))->delete();
|
||||
$info = Mapper::where('starttime', '<', Carbon::now()->subHours(24))->delete();
|
||||
|
||||
if ($debug) {
|
||||
Notice::note("Deleted: $info");
|
||||
|
||||
Reference in new issue
Block a user