fix(database): change default value of enable_ssl to false for multiple tables
This commit is contained in:
parent
225f24e650
commit
8ebbe396f4
1 changed files with 3 additions and 3 deletions
|
|
@ -12,15 +12,15 @@
|
|||
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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue