Completed model updates for Services
This commit is contained in:
parent
09d23deed6
commit
323f1d943f
26 changed files with 299 additions and 167 deletions
|
@ -224,7 +224,7 @@ class ServerController extends Controller
|
|||
|
||||
$service = Models\Service::select(
|
||||
DB::raw('IFNULL(service_options.executable, services.executable) as executable')
|
||||
)->leftJoin('service_options', 'service_options.parent_service', '=', 'services.id')
|
||||
)->leftJoin('service_options', 'service_options.service_id', '=', 'services.id')
|
||||
->where('service_options.id', $server->option_id)
|
||||
->where('services.id', $server->service_id)
|
||||
->first();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue