Allow Null = 0
Allow Value to be nullable, will autofill 0 if value is null or 0, to facilitate "unlimited" connections.
This commit is contained in:
parent
0ecfb40f5e
commit
82dd7dc8e3
8 changed files with 28 additions and 12 deletions
|
@ -108,7 +108,11 @@
|
|||
<td class="middle">{{ $database->database }}</td>
|
||||
<td class="middle">{{ $database->username }}</td>
|
||||
<td class="middle">{{ $database->remote }}</td>
|
||||
<td class="middle">{{ $database->max_connections }}</td>
|
||||
@if($database->max_connections != null)
|
||||
<td class="middle">{{ $database->max_connections }}</td>
|
||||
@else
|
||||
<td class="middle">Unlimited</td>
|
||||
@endif
|
||||
<td class="text-center">
|
||||
<a href="{{ route('admin.servers.view.database', $database->getRelation('server')->id) }}">
|
||||
<button class="btn btn-xs btn-primary">Manage</button>
|
||||
|
|
Reference in a new issue