diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index a90d5166..c9cd9283 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -245,9 +245,9 @@ protected function configureDefaults(): void JsonResource::withoutWrapping(); Model::shouldBeStrict(! $this->app->isProduction()); - // DB::prohibitDestructiveCommands( - // app()->isProduction(), - // ); + DB::prohibitDestructiveCommands( + app()->isProduction(), + ); Password::defaults(fn (): ?Password => app()->isProduction() ? Password::min(12)