From cbc7dfdb995c271b1913f21aef2b8e357ce14926 Mon Sep 17 00:00:00 2001 From: Tb Fajri Date: Fri, 9 Jun 2023 15:17:39 +0700 Subject: [PATCH] update colom service code, policy id dan claim reques --- ...451_add_service_code_to_claim_requests.php | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 database/migrations/2023_06_09_151451_add_service_code_to_claim_requests.php diff --git a/database/migrations/2023_06_09_151451_add_service_code_to_claim_requests.php b/database/migrations/2023_06_09_151451_add_service_code_to_claim_requests.php new file mode 100644 index 00000000..259670e8 --- /dev/null +++ b/database/migrations/2023_06_09_151451_add_service_code_to_claim_requests.php @@ -0,0 +1,36 @@ +string('service_code')->after('payment_type')->nullable(); + $table->string('policy_id')->after('service_code')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('claim_requests', function (Blueprint $table) { + // + $table->dropColumn('service_code'); + $table->dropColumn('policy_id'); + }); + } +};