Skip to content

Commit

Permalink
fix purge for custom models
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedvaziry committed Jan 19, 2022
1 parent 521fe46 commit 549d830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/PurgeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function __construct()
*/
public function handle()
{
MonitoringRecord::query()
app(config('monitoring.models.monitoring_record'))
->where(
'created_at',
'<',
Expand Down

0 comments on commit 549d830

Please sign in to comment.