feat: Ubah nama kolom pada tabel periode pelaporan
parent
c925f2b4a5
commit
113d2eb8d1
|
@ -13,7 +13,7 @@ return new class extends Migration
|
||||||
{
|
{
|
||||||
Schema::create('PeriodePelaporan', function (Blueprint $table) {
|
Schema::create('PeriodePelaporan', function (Blueprint $table) {
|
||||||
$table->id('PeriodePelaporanId');
|
$table->id('PeriodePelaporanId');
|
||||||
$table->string('NamaPeriodePelaporan');
|
$table->string('NamaPeriode');
|
||||||
$table->date('BulanAwal');
|
$table->date('BulanAwal');
|
||||||
$table->date('BulanSelesai');
|
$table->date('BulanSelesai');
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
|
|
|
@ -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) {
|
||||||
|
//
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
Loading…
Reference in New Issue