mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 06:56:15 +00:00
#591 - database-users
This commit is contained in:
@ -21,7 +21,7 @@ public function toArray(Request $request): array
|
||||
'collation' => $this->collation,
|
||||
'charset' => $this->charset,
|
||||
'status' => $this->status,
|
||||
'status_color' => $this::$statusColors[$this->status] ?? 'gray',
|
||||
'status_color' => Database::$statusColors[$this->status] ?? 'gray',
|
||||
'created_at' => $this->created_at,
|
||||
'updated_at' => $this->updated_at,
|
||||
];
|
||||
|
@ -21,6 +21,7 @@ public function toArray(Request $request): array
|
||||
'databases' => $this->databases,
|
||||
'host' => $this->host,
|
||||
'status' => $this->status,
|
||||
'status_color' => DatabaseUser::$statusColors[$this->status] ?? 'gray',
|
||||
'created_at' => $this->created_at,
|
||||
'updated_at' => $this->updated_at,
|
||||
];
|
||||
|
Reference in New Issue
Block a user