From a7b69ff7d04eedfb6e60bbd3da72e04d46827336 Mon Sep 17 00:00:00 2001 From: Andy Chaerudin Date: Wed, 28 Aug 2024 17:13:46 +0700 Subject: [PATCH] rename 2024_08_22_080122_create_permohonan_table.php menjadi 2024_08_19_080122_create_permohonan_table.php (ganti tgl dari 20 menjadi 19) --- ..._08_19_080122_create_permohonan_table.php} | 0 ...4_08_22_093805_create_permohonan_table.php | 46 ------------------- 2 files changed, 46 deletions(-) rename database/migrations/{2024_08_22_080122_create_permohonan_table.php => 2024_08_19_080122_create_permohonan_table.php} (100%) delete mode 100644 database/migrations/2024_08_22_093805_create_permohonan_table.php diff --git a/database/migrations/2024_08_22_080122_create_permohonan_table.php b/database/migrations/2024_08_19_080122_create_permohonan_table.php similarity index 100% rename from database/migrations/2024_08_22_080122_create_permohonan_table.php rename to database/migrations/2024_08_19_080122_create_permohonan_table.php diff --git a/database/migrations/2024_08_22_093805_create_permohonan_table.php b/database/migrations/2024_08_22_093805_create_permohonan_table.php deleted file mode 100644 index e75f942..0000000 --- a/database/migrations/2024_08_22_093805_create_permohonan_table.php +++ /dev/null @@ -1,46 +0,0 @@ -id(); - $table->string('nomor_registrasi')->unique(); - $table->date('tanggal_permohonan'); - $table->foreignIdFor(User::class)->constrained(); - $table->foreignIdFor(Branch::class)->constrained(); - $table->foreignIdFor(TujuanPenilaian::class)->constrained('tujuan_penilaian')->onDelete('cascade'); - $table->foreignIdFor(Debiture::class)->constrained('debitures')->onDelete('cascade'); - $table->boolean('status')->default(true)->nullable(); - $table->timestamps(); - $table->timestamp('authorized_at')->nullable(); - $table->char('authorized_status', 1)->nullable(); - $table->softDeletes(); - - $table->unsignedBigInteger('created_by')->nullable(); - $table->unsignedBigInteger('updated_by')->nullable(); - $table->unsignedBigInteger('deleted_by')->nullable(); - $table->unsignedBigInteger('authorized_by')->nullable(); - }); - } - - /** - * Reverse the migrations. - */ - public function down(): void - { - Schema::dropIfExists('permohonan'); - } -};