From e2df86f0f25c691391b9a1f32ed45d29c767c549 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Mon, 16 Jun 2025 14:49:01 +0200 Subject: [PATCH] fix(migration): update default value handling for is_sentinel_enabled column in server_settings --- .../2025_06_16_123532_change_sentinel_on_by_default.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/2025_06_16_123532_change_sentinel_on_by_default.php b/database/migrations/2025_06_16_123532_change_sentinel_on_by_default.php index 4bcaf0a91..f4c6d4038 100644 --- a/database/migrations/2025_06_16_123532_change_sentinel_on_by_default.php +++ b/database/migrations/2025_06_16_123532_change_sentinel_on_by_default.php @@ -12,7 +12,7 @@ return new class extends Migration public function up(): void { 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 { Schema::table('server_settings', function (Blueprint $table) { - $table->boolean('is_sentinel_enabled')->default(false); + $table->boolean('is_sentinel_enabled')->default(false)->change(); }); } };