pintu2/database/migrations/2025_03_05_140752_alter_table_lombas.php

33 lines
857 B
PHP
Raw Normal View History

2025-03-07 09:57:56 +07:00
<?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::table('lombas', function (Blueprint $table) {
$table->text('keterangan_operator')->nullable()->after('status');
$table->text('ettd_dpl')->nullable()->after('status');
$table->text('ettd_wd3')->nullable()->after('status');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('lombas', function (Blueprint $table) {
$table->dropColumn('keterangan_operator');
$table->dropColumn('ettd_dpl');
$table->dropColumn('ettd_wd3');
});
}
};