+<?php
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
+
+return new class extends Migration
+{
+ /**
+ * Run the migrations.
+ */
+ public function up(): void
+ {
+ Schema::table('channels', function (Blueprint $table) {
+ $table->boolean('twitch_live')->default(false);
+ $table->string('twitch_category')->default('');
+ $table->integer('twitch_viewers')->default(0);
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ */
+ public function down(): void
+ {
+ Schema::table('channels', function (Blueprint $table) {
+ $table->dropColumn('twitch_live');
+ $table->dropColumn('twitch_category');
+ $table->dropColumn('twitch_viewers');
+ });
+ }
+};