<?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('countries', function (Blueprint $table) {
            $table->id('country_id');
            $table->string('country_NameEN');
            $table->string('country_NameAR');
            $table->string('country_state')->default(1);
            $table->string('country_photo');
            $table->string('country_currency_ar')->nullable();
            $table->string('country_currency_en')->nullable();
            // $table->foreignId('country_vendor_id')->references('vendor_id')->on('vendors');
            $table->timestamps();
        });
    }

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