feat: Ubah nama kolom pada tabel periode pelaporan

main
marszayn 2025-03-10 14:00:46 +07:00
parent c925f2b4a5
commit 113d2eb8d1
2 changed files with 33 additions and 1 deletions

View File

@ -13,7 +13,7 @@ return new class extends Migration
{
Schema::create('PeriodePelaporan', function (Blueprint $table) {
$table->id('PeriodePelaporanId');
$table->string('NamaPeriodePelaporan');
$table->string('NamaPeriode');
$table->date('BulanAwal');
$table->date('BulanSelesai');
$table->timestamps();

View File

@ -0,0 +1,32 @@
<?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('PeriodePelaporan', function (Blueprint $table) {
$table->id('PeriodePelaporanId');
$table->string('Nama');
$table->string('BulanAwal');
$table->string('BulanSelesai');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('PeriodePelaporan', function (Blueprint $table) {
//
});
}
};