From adc07b734387654dd046414deffcb556c4a8e239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Sat, 14 Mar 2026 11:52:54 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20[sales]=20sales=5Fproduct=5Fcategories?= =?UTF-8?q?=EC=97=90=20=EC=B5=9C=EC=A0=80=20=EA=B0=9C=EB=B0=9C=EB=B9=84/?= =?UTF-8?q?=EA=B5=AC=EB=8F=85=EB=A3=8C=20=EC=BB=AC=EB=9F=BC=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - min_development_fee: 최저 개발비 (이 금액 이하 설정 불가) - min_subscription_fee: 최저 구독료 (이 금액 이하 설정 불가) --- ...fees_to_sales_product_categories_table.php | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 database/migrations/2026_03_14_100000_add_min_fees_to_sales_product_categories_table.php diff --git a/database/migrations/2026_03_14_100000_add_min_fees_to_sales_product_categories_table.php b/database/migrations/2026_03_14_100000_add_min_fees_to_sales_product_categories_table.php new file mode 100644 index 0000000..9bb819a --- /dev/null +++ b/database/migrations/2026_03_14_100000_add_min_fees_to_sales_product_categories_table.php @@ -0,0 +1,33 @@ +table('sales_product_categories', function (Blueprint $table) { + $table->decimal('min_development_fee', 15, 2)->default(0)->after('base_storage') + ->comment('최저 개발비 (이 금액 이하로 설정 불가)'); + $table->decimal('min_subscription_fee', 15, 2)->default(0)->after('min_development_fee') + ->comment('최저 구독료 (이 금액 이하로 설정 불가)'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::connection('codebridge')->table('sales_product_categories', function (Blueprint $table) { + $table->dropColumn(['min_development_fee', 'min_subscription_fee']); + }); + } +};