From 85117fe017309fe6b8c8577932e5d988a55d5236 Mon Sep 17 00:00:00 2001 From: BTMS2 Date: Mon, 20 Jan 2025 16:32:07 +0800 Subject: [PATCH] add migration db simulasibidmarhun --- ..._old_harga_column_to_simulasibidmarhun.php | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 database/migrations/2025_01_20_162907_add_old_harga_column_to_simulasibidmarhun.php diff --git a/database/migrations/2025_01_20_162907_add_old_harga_column_to_simulasibidmarhun.php b/database/migrations/2025_01_20_162907_add_old_harga_column_to_simulasibidmarhun.php new file mode 100644 index 00000000..d37c8f3c --- /dev/null +++ b/database/migrations/2025_01_20_162907_add_old_harga_column_to_simulasibidmarhun.php @@ -0,0 +1,34 @@ +decimal('old_harga', $precision = 9, $scale = 2)->nullable(); + // + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('simulasibidmarhun', function (Blueprint $table) { + $table->dropColumn('old_harga'); + // + }); + } +}