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']); + }); + } +};