<?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('localization_settings', function (Blueprint $table) {
            $table->id();
            $table->string('timezone')->default('UTC');
            $table->string('start_week')->default('monday'); // monday, sunday, saturday
            $table->string('default_currency', 3)->default('USD');
            $table->string('date_format')->default('MM/DD/YYYY');
            $table->string('time_format')->default('12'); // 12 or 24
            $table->string('locale')->default('en');
            $table->timestamps();
        });
    }

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