From cfd4c253e8910cfec3f3c4264f359fca40e03d62 Mon Sep 17 00:00:00 2001 From: hskwon Date: Wed, 24 Sep 2025 21:05:00 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20categories=20=ED=85=8C=EC=9D=B4=EB=B8=94?= =?UTF-8?q?=20level=20=EC=BB=AC=EB=9F=BC=20=EC=A0=9C=EA=B1=B0=EB=A1=9C=20?= =?UTF-8?q?=EB=A7=88=EC=9D=B4=EA=B7=B8=EB=A0=88=EC=9D=B4=EC=85=98=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 2025_09_24_000002_create_dynamic_estimate_fields.php에서 level 컬럼 사용 제거 - categories 테이블에 level 컬럼이 존재하지 않아 발생하던 마이그레이션 오류 해결 - parent_id로 계층 구조 표현이 충분하므로 level 컬럼 불필요 - 견적 루트 카테고리, 스크린 카테고리, 철재 카테고리 생성 시 level 컬럼 제거 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .../2025_09_24_000002_create_dynamic_estimate_fields.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/database/migrations/2025_09_24_000002_create_dynamic_estimate_fields.php b/database/migrations/2025_09_24_000002_create_dynamic_estimate_fields.php index e0494bf..4986600 100644 --- a/database/migrations/2025_09_24_000002_create_dynamic_estimate_fields.php +++ b/database/migrations/2025_09_24_000002_create_dynamic_estimate_fields.php @@ -19,7 +19,6 @@ public function up(): void 'code' => 'fire_shutter_estimate', 'name' => '방화셔터 견적', 'description' => '방화셔터 견적 루트 카테고리', - 'level' => 1, 'sort_order' => 1, 'profile_code' => 'estimate_root', 'is_active' => 1, @@ -35,7 +34,6 @@ public function up(): void 'code' => 'screen_product', 'name' => '스크린 제품', 'description' => '실리카/와이어 스크린 제품 카테고리', - 'level' => 2, 'sort_order' => 1, 'profile_code' => 'screen_category', 'is_active' => 1, @@ -51,7 +49,6 @@ public function up(): void 'code' => 'steel_product', 'name' => '철재 제품', 'description' => '철재스라트 제품 카테고리', - 'level' => 2, 'sort_order' => 2, 'profile_code' => 'steel_category', 'is_active' => 1,