where('created_at', '<', \Carbon\Carbon::now()->modify(self::PERIOD)) ->whereNotNull('read_at') ->delete(); $this->info('['.date('Y-m-d H:i:s').'] Deleted old read notifications for: '.self::PERIOD); } }