addHours(12), function () { return UserFlight::query() ->with(['departureAirport', 'arrivalAirport', 'user']) ->whereHas('user', function ($query) { $query->whereRaw(DB::raw("settings->>'profile_privacy' is distinct from 'private'")); }) ->orderByDesc('departure_date') ->limit(50) ->get() ->values() ->toJson(); }); } function splash(){ return Inertia::render('Splash'); } }