Skip to content

Commit 80677e8

Browse files
author
Andreas Aagaard
committed
# Initial
1 parent 9d1f2c6 commit 80677e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CleanActivitylogCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function handle()
2626

2727
$activity = ActivitylogServiceProvider::getActivityModelInstance();
2828

29-
$amountDeleted = $activity::where('created_at', '<', $cutOffDate)
29+
$amountDeleted = $activity::where('created', '<', $cutOffDate)
3030
->when($log !== null, function (Builder $query) use ($log) {
3131
$query->inLog($log);
3232
})

0 commit comments

Comments
 (0)