id(); $table->foreignId('anime_id')->constrained()->onDelete('cascade'); $table->integer('season_number'); $table->string('title')->nullable(); $table->text('description')->nullable(); $table->string('cover_image')->nullable(); $table->integer('release_year')->nullable(); $table->boolean('is_published')->default(true); $table->timestamps(); $table->unique(['anime_id', 'season_number']); }); } public function down(): void { Schema::dropIfExists('seasons'); } };