fix: instance settings migration
This commit is contained in:
parent
f26853b576
commit
d7a0794bd9
1 changed files with 19 additions and 21 deletions
|
|
@ -13,7 +13,6 @@
|
||||||
*/
|
*/
|
||||||
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 @@ public function up(): void
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reverse the migrations.
|
* Reverse the migrations.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue