Files
lpj/database/migrations/2025_01_17_030225_update_permohonan_table.php
2025-05-06 15:05:09 +07:00

29 lines
647 B
PHP

<?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('permohonan', function (Blueprint $table) {
$table->string('tanggal_paparan')->nullable()->after('nilai_plafond_id');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('permohonan', function (Blueprint $table) {
$table->dropColumn('tanggal_paparan');
});
}
};