/home/awneajlw/.trash/database/migrations/2025_04_30_103702_create_travel_agents_table.php
<?php

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

return new class extends Migration
{
    /**
     * Run the migrations.
     */
    public function up(): void
    {
        Schema::create('travel_agents', function (Blueprint $table) {
        $table->id();
        $table->string('code', 10)->nullable();
        $table->string('name', 100);
        $table->string('location', 100);
        $table->string('airlines_deals_with', 100)->nullable();
        $table->string('secondary_email', 100)->nullable();
        $table->string('secondary_phone', 15)->nullable();
        $table->string('primary_email', 100)->nullable();
        $table->string('primary_phone', 15)->nullable();
        $table->string('address', 100)->nullable();
        $table->string('file_path', 255)->nullable();
        $table->timestamps();
    });
}


    /**
     * Reverse the migrations.
     */
    public function down(): void
    {
        Schema::dropIfExists('travel_agents');
    }
};