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::create('protocols', function (Blueprint $table) {
18 $table->foreignId('tournament_id')->constrained();
19 $table->foreignId('user_id')->nullable()->constrained();
20 $table->string('type');
21 $table->text('details');
27 * Reverse the migrations.
31 public function down()
33 Schema::dropIfExists('protocols');