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_episode', function (Blueprint $table) {
18 $table->foreignId('channel_id')->constrained();
19 $table->foreignId('episode_id')->constrained();
24 * Reverse the migrations.
28 public function down()
30 Schema::dropIfExists('channel_episode');