id(); $table->date('air_date')->nullable(); $table->integer('episode_number')->nullable(); $table->string('episode_type')->nullable(); $table->integer('tmdb_id'); $table->string('name', 500)->nullable(); $table->string('slug', 500)->nullable(); $table->text('overview')->nullable(); $table->string('production_code')->nullable(); $table->integer('runtime')->nullable(); $table->integer('season_number')->nullable(); $table->bigInteger('tmdb_show_id')->nullable(); $table->string('still_path', 500)->nullable(); $table->decimal('vote_average', 10, 2)->nullable(); $table->integer('vote_count')->nullable(); $table->json('crew')->nullable(); $table->json('guest_stars')->nullable(); $table->unsignedBigInteger('show_id'); $table->unsignedBigInteger('season_id'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('episodes'); } };