@if (
$resource->getMorphClass() == 'App\Models\Application' ||
$resource->getMorphClass() == 'App\Models\StandalonePostgresql' ||
$resource->getMorphClass() == 'App\Models\StandaloneRedis' ||
$resource->getMorphClass() == 'App\Models\StandaloneMariadb' ||
$resource->getMorphClass() == 'App\Models\StandaloneMongodb')
Storages
+ Add
Persistent storage to preserve data between deployments.
@if (
$resource->persistentStorages()->get()->count() === 0 &&
$resource->fileStorages()->get()->count() == 0)
No storage found.
@else
@if ($resource->persistentStorages()->get()->count() > 0)
@endif
@if ($resource->fileStorages()->get()->count() > 0)
@foreach ($resource->fileStorages()->get()->sort() as $fileStorage)
@endforeach
@endif
@endif
@else
@if (
$resource->persistentStorages()->get()->count() > 0 ||
$resource->fileStorages()->get()->count() > 0)
{{ Str::headline($resource->name) }}
@endif
@if ($resource->persistentStorages()->get()->count() > 0)
@endif
@if ($resource->fileStorages()->get()->count() > 0)
@foreach ($resource->fileStorages()->get()->sort() as $fileStorage)
@endforeach
@endif
@endif