fix: [절곡] bending_models lot_no 제거 — legacy_code로 이관

- bending_models에는 LOT 개념 없음, lot_no 컬럼 불필요
- lot_no 값 → legacy_code로 이관 후 컬럼 DROP
- BendingModel fillable에서 lot_no 제거
- GuiderailModelResource에서 lot_no 제거
- BendingModelImport: lot_no → legacy_code
- 마이그레이션 rollback 로직 수정
This commit is contained in:
2026-03-21 15:39:09 +09:00
parent 7cd0aab884
commit 25db0df38b
4 changed files with 8 additions and 16 deletions

View File

@@ -121,7 +121,7 @@ private function importModel(object $row, string $type, string $code, array $dat
'tenant_id' => $this->tenantId,
'model_type' => $type,
'code' => explode('-', $code)[0],
'lot_no' => $code,
'legacy_code' => $code,
'legacy_num' => $row->num,
'components' => $components,
'material_summary' => $materialSummary,