From 40d4500651a15e3f344f491361dd63bd0768ddda Mon Sep 17 00:00:00 2001 From: Tb Fajri Date: Fri, 9 Jun 2023 15:11:44 +0700 Subject: [PATCH] tambah field payment type --- ...842_add_payment_type_to_claim_requests.php | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 database/migrations/2023_06_09_150842_add_payment_type_to_claim_requests.php diff --git a/database/migrations/2023_06_09_150842_add_payment_type_to_claim_requests.php b/database/migrations/2023_06_09_150842_add_payment_type_to_claim_requests.php new file mode 100644 index 00000000..bf80cb4d --- /dev/null +++ b/database/migrations/2023_06_09_150842_add_payment_type_to_claim_requests.php @@ -0,0 +1,34 @@ +string('payment_type')->after('member_id')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('claim_requests', function (Blueprint $table) { + // + $table->dropColumn('payment_type'); + }); + } +};