diff --git a/database/migrations/2026_02_14_100000_add_business_info_to_sales_partners_table.php b/database/migrations/2026_02_14_100000_add_business_info_to_sales_partners_table.php new file mode 100644 index 0000000..d279d5e --- /dev/null +++ b/database/migrations/2026_02_14_100000_add_business_info_to_sales_partners_table.php @@ -0,0 +1,24 @@ +string('company_name', 100)->nullable()->after('notes')->comment('상호'); + $table->string('biz_no', 20)->nullable()->after('company_name')->comment('사업자등록번호'); + $table->string('address', 255)->nullable()->after('biz_no')->comment('주소'); + }); + } + + public function down(): void + { + Schema::table('sales_partners', function (Blueprint $table) { + $table->dropColumn(['company_name', 'biz_no', 'address']); + }); + } +};