subHours(setting('acars.live_time')); Pirep::whereDate('created_at', '<', $date) ->where('state', PirepState::IN_PROGRESS) ->delete(); } }