From 8ebbe396f4f0fb0dec52e3f5ed135a76207967a7 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Mon, 17 Mar 2025 13:58:31 +0100 Subject: [PATCH] fix(database): change default value of enable_ssl to false for multiple tables --- .../2025_01_27_102616_add_ssl_fields_to_database_tables.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/database/migrations/2025_01_27_102616_add_ssl_fields_to_database_tables.php b/database/migrations/2025_01_27_102616_add_ssl_fields_to_database_tables.php index 361e2fd32..14162133a 100644 --- a/database/migrations/2025_01_27_102616_add_ssl_fields_to_database_tables.php +++ b/database/migrations/2025_01_27_102616_add_ssl_fields_to_database_tables.php @@ -12,15 +12,15 @@ return new class extends Migration public function up() { Schema::table('standalone_postgresqls', function (Blueprint $table) { - $table->boolean('enable_ssl')->default(true); + $table->boolean('enable_ssl')->default(false); $table->enum('ssl_mode', ['allow', 'prefer', 'require', 'verify-ca', 'verify-full'])->default('require'); }); Schema::table('standalone_mysqls', function (Blueprint $table) { - $table->boolean('enable_ssl')->default(true); + $table->boolean('enable_ssl')->default(false); $table->enum('ssl_mode', ['PREFERRED', 'REQUIRED', 'VERIFY_CA', 'VERIFY_IDENTITY'])->default('REQUIRED'); }); Schema::table('standalone_mariadbs', function (Blueprint $table) { - $table->boolean('enable_ssl')->default(true); + $table->boolean('enable_ssl')->default(false); }); Schema::table('standalone_redis', function (Blueprint $table) { $table->boolean('enable_ssl')->default(false);