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('episodes', function (Blueprint $table) {
18 $table->foreignId('event_id')->constrained();
19 $table->text('title');
20 $table->timestamp('start');
21 $table->integer('estimate')->nullable()->default(null);
22 $table->boolean('confirmed')->default(false);
23 $table->text('comment')->default('');
24 $table->string('ext_id')->nullable()->default(null);
30 * Reverse the migrations.
34 public function down()
36 Schema::dropIfExists('episodes');