<?php
 namespace App\Providers; use App\Services\Storage\StorageDiskRegistrar; use Illuminate\Support\Facades\Schema; use Illuminate\Support\ServiceProvider; class StorageServiceProvider extends ServiceProvider { public function boot(): void { if (! Schema::hasTable('settings')) { return; } app(StorageDiskRegistrar::class)->register(); } } 