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('channels', function (Blueprint $table) {
18 $table->foreignId('organization_id')->nullable()->default(null)->constrained();
19 $table->string('short_name');
20 $table->text('title');
21 $table->text('stream_link');
22 $table->text('languages')->default('[]');
23 $table->string('ext_id')->nullable()->default(null);
29 * Reverse the migrations.
33 public function down()
35 Schema::dropIfExists('channels');