fix:거래처 업태/종목 컬럼 크기 확장 (varchar 20/50 → 100)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
김보곤
2026-02-19 10:00:55 +09:00
parent c290c99cc4
commit cc5fe61fcd

View File

@@ -0,0 +1,24 @@
<?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('type', 100)->default('vendor')->comment('업태')->change();
$table->string('category', 100)->default('기타')->comment('종목')->change();
});
}
public function down(): void
{
Schema::table('trading_partners', function (Blueprint $table) {
$table->string('type', 20)->default('vendor')->change();
$table->string('category', 50)->default('기타')->change();
});
}
};