feat:거래처 테이블에 대표자(ceo), 주소(address) 컬럼 추가

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
김보곤
2026-02-13 11:22:10 +09:00
parent cd20f8d73f
commit 6d4e5b740b

View File

@@ -0,0 +1,23 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::table('trading_partners', function (Blueprint $table) {
$table->string('ceo', 50)->nullable()->after('biz_no')->comment('대표자');
$table->string('address', 255)->nullable()->after('email')->comment('주소');
});
}
public function down(): void
{
Schema::table('trading_partners', function (Blueprint $table) {
$table->dropColumn(['ceo', 'address']);
});
}
};