fix(migration): update default value handling for is_sentinel_enabled column in server_settings
This commit is contained in:
parent
e8e7b3bc59
commit
e2df86f0f2
1 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@
|
|||
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 @@ public function up(): void
|
|||
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();
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue