<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
    public function up(): void
    {
        Schema::table('day_tour_dates', function (Blueprint $table) {
            // Sezon (grup) adı — tarih üretiminde girilen etiket, tarihleri gruplamak için
            $table->string('season_name', 80)->nullable()->after('tour_date');
        });
    }

    public function down(): void
    {
        Schema::table('day_tour_dates', function (Blueprint $table) {
            $table->dropColumn('season_name');
        });
    }
};
