Fix: remove orderBy on modpack_installations — table has no id column
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
5e666e7853
commit
36800ae7a7
@@ -66,7 +66,6 @@ class CheckModpackUpdates extends Command
|
||||
// Step 1: modpack_installations table (fastest, most reliable)
|
||||
$installation = DB::table('modpack_installations')
|
||||
->where('server_id', $server->id)
|
||||
->orderBy('id', 'desc')
|
||||
->first();
|
||||
|
||||
if ($installation && !empty($installation->provider) && !empty($installation->modpack_id)) {
|
||||
|
||||
Reference in New Issue
Block a user