Skip to content

Commit 7343a84

Browse files
committed
Fix
1 parent f8505e8 commit 7343a84

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?php
2+
3+
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
6+
7+
return new class extends Migration {
8+
/**
9+
* Run the migrations.
10+
*
11+
* @return void
12+
*/
13+
public function up()
14+
{
15+
Schema::table('settings', function (Blueprint $table) {
16+
$table->text('value')->nullable()->change();
17+
});
18+
}
19+
20+
/**
21+
* Reverse the migrations.
22+
*
23+
* @return void
24+
*/
25+
public function down()
26+
{
27+
Schema::table('settings', function (Blueprint $table) {
28+
$table->text('value')->change();
29+
});
30+
}
31+
};

0 commit comments

Comments
 (0)