id(); $table->unsignedTinyInteger('adult')->default(0); $table->string('backdrop_path', 500)->nullable(); $table->unsignedInteger('episode_run_time')->default(0); $table->date('first_air_date')->nullable(); $table->string('homepage', 500)->nullable(); $table->string('tmdb_id', 50)->nullable(); $table->unsignedTinyInteger('in_production')->default(0); $table->string('languages', 255)->nullable(); $table->date('last_air_date')->nullable(); $table->string('name', 500); $table->string('slug', 500)->unique(); $table->unsignedInteger('number_of_episodes')->default(0); $table->unsignedInteger('number_of_seasons')->default(0); $table->string('origin_country', 255)->nullable(); $table->string('original_language', 255)->nullable(); $table->string('original_name', 255)->nullable(); $table->text('overview')->nullable(); $table->decimal('popularity', 10, 2)->default(0); $table->string('poster_path', 500)->nullable(); $table->string('status', 255)->nullable(); $table->string('tagline', 255)->nullable(); $table->string('type', 255); $table->decimal('vote_average', 10, 2)->default(0); $table->unsignedInteger('vote_count')->default(0); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('shows'); } };