<?php

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

return new class extends Migration
{
      public function up()
    {
        Schema::table('over_time_records', function (Blueprint $table) {
            $table->enum('Work_Extension_Type', ['EARLY_COMING', 'LATE_GOING'])
                  ->nullable()
                  ->after('your_previous_column'); // change column name if needed
        });
    }

    public function down()
    {
        Schema::table('over_time_records', function (Blueprint $table) {
            $table->dropColumn('Work_Extension_Type');
        });
    }
};
