diff --git a/database/migrations/2025_02_17_111029_create_periodepelaporan_table.php b/database/migrations/2025_02_17_111029_create_periodepelaporan_table.php index a685da4..f36e178 100644 --- a/database/migrations/2025_02_17_111029_create_periodepelaporan_table.php +++ b/database/migrations/2025_02_17_111029_create_periodepelaporan_table.php @@ -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(); diff --git a/database/migrations/2025_03_05_115317_periodepelaporan.php b/database/migrations/2025_03_05_115317_periodepelaporan.php new file mode 100644 index 0000000..04f0e40 --- /dev/null +++ b/database/migrations/2025_03_05_115317_periodepelaporan.php @@ -0,0 +1,32 @@ +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) { + // + }); + } +};