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('channel_crews', function (Blueprint $table) {
18 $table->foreignId('user_id')->constrained();
19 $table->foreignId('channel_id')->constrained();
20 $table->string('role')->default('helper');
26 * Reverse the migrations.
30 public function down()
32 Schema::dropIfExists('channel_crews');