chore: remove webhooks table cleanup
This commit is contained in:
parent
d9ebf3b142
commit
3e9dd6a7bf
1 changed files with 0 additions and 8 deletions
|
|
@ -64,13 +64,5 @@ public function handle()
|
||||||
if ($this->option('yes')) {
|
if ($this->option('yes')) {
|
||||||
$scheduled_task_executions->delete();
|
$scheduled_task_executions->delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cleanup webhooks table
|
|
||||||
$webhooks = DB::table('webhooks')->where('created_at', '<', now()->subDays($keep_days));
|
|
||||||
$count = $webhooks->count();
|
|
||||||
echo "Delete $count entries from webhooks.\n";
|
|
||||||
if ($this->option('yes')) {
|
|
||||||
$webhooks->delete();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue