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('participants', function(Blueprint $table) {
17 $table->integer('placement')->nullable()->default(null);
18 $table->integer('score')->nullable()->default(null);
23 * Reverse the migrations.
27 public function down()
29 Schema::table('participants', function(Blueprint $table) {
30 $table->dropColumn('placement');
31 $table->dropColumn('score');