3 use Illuminate\Database\Migrations\Migration;
4 use Illuminate\Database\Schema\Blueprint;
5 use Illuminate\Support\Facades\Schema;
7 return new class extends Migration
16 Schema::table('results', function(Blueprint $table) {
17 $table->decimal('time', 8, 2)->unsigned()->default(0)->change();
18 $table->text('comment')->nullable()->default(null);
23 * Reverse the migrations.
27 public function down()
29 Schema::table('results', function(Blueprint $table) {
30 $table->dropColumn('comment');