fixed migtrations
This commit is contained in:
@@ -7,6 +7,7 @@ use Carbon\CarbonImmutable;
|
||||
use Illuminate\Support\Facades\Date;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Gate;
|
||||
use Illuminate\Support\Facades\URL;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Illuminate\Validation\Rules\Password;
|
||||
|
||||
@@ -25,6 +26,11 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
|
||||
if ($this->app->environment() !== 'local') {
|
||||
URL::forceScheme('https');
|
||||
}
|
||||
|
||||
$this->configureAuthorization();
|
||||
$this->configureDefaults();
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ return new class extends Migration
|
||||
'provider',
|
||||
'base_url',
|
||||
'provider_repository_id',
|
||||
]);
|
||||
], 'repo_connections_project_provider_repo_unique');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user