fix(migration): update default value handling for is_sentinel_enabled column in server_settings

This commit is contained in:
Andras Bacsai
2025-06-16 14:49:01 +02:00
parent e8e7b3bc59
commit e2df86f0f2

View File

@@ -12,7 +12,7 @@ return new class extends Migration
public function up(): void public function up(): void
{ {
Schema::table('server_settings', function (Blueprint $table) { Schema::table('server_settings', function (Blueprint $table) {
$table->boolean('is_sentinel_enabled')->default(true); $table->boolean('is_sentinel_enabled')->default(true)->change();
}); });
} }
@@ -22,7 +22,7 @@ return new class extends Migration
public function down(): void public function down(): void
{ {
Schema::table('server_settings', function (Blueprint $table) { Schema::table('server_settings', function (Blueprint $table) {
$table->boolean('is_sentinel_enabled')->default(false); $table->boolean('is_sentinel_enabled')->default(false)->change();
}); });
} }
}; };