<?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::create('soci_type', function (Blueprint $table) {
            $table->bigIncrements('St_Id');
            $table->string('SType_Name', 25);
            $table->string('Status', 1);
            $table->timestamps();

            $table->unique('SType_Name', 'soci_type_name_unique');
        });
    }

    public function down(): void
    {
        Schema::dropIfExists('soci_type');
    }
};
