mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 01:34:45 +02:00
Merge pull request #3256 from pterodactyl/lancepioch-patch-1
Change to actual function names to support MariaDB
This commit is contained in:
commit
af3fb14254
@ -111,7 +111,7 @@ class ServerDetailsController extends Controller
|
||||
/** @var \Pterodactyl\Models\Server[] $servers */
|
||||
$servers = Server::query()
|
||||
->select('servers.*')
|
||||
->selectRaw('started.metadata->>"$.backup_uuid" as backup_uuid')
|
||||
->selectRaw('JSON_UNQUOTE(JSON_EXTRACT(started.metadata, "$.backup_uuid")) as backup_uuid')
|
||||
->leftJoinSub(function (Builder $builder) {
|
||||
$builder->select('*')->from('audit_logs')
|
||||
->where('action', AuditLog::SERVER__BACKUP_RESTORE_STARTED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user