fix: instance settings migration
This commit is contained in:
@@ -13,7 +13,6 @@ return new class extends Migration
|
|||||||
*/
|
*/
|
||||||
public function up(): void
|
public function up(): void
|
||||||
{
|
{
|
||||||
if (DB::table('instance_settings')->exists()) {
|
|
||||||
Schema::table('instance_settings', function (Blueprint $table) {
|
Schema::table('instance_settings', function (Blueprint $table) {
|
||||||
$table->text('smtp_from_address')->nullable()->change();
|
$table->text('smtp_from_address')->nullable()->change();
|
||||||
$table->text('smtp_from_name')->nullable()->change();
|
$table->text('smtp_from_name')->nullable()->change();
|
||||||
@@ -37,7 +36,6 @@ return new class extends Migration
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reverse the migrations.
|
* Reverse the migrations.
|
||||||
|
|||||||
Reference in New Issue
Block a user