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

@@ -16,7 +16,7 @@ class BendingModel extends Model
protected $table = 'bending_models';
protected $fillable = [
'tenant_id', 'model_type', 'code', 'lot_no', 'name', 'legacy_code', 'legacy_num',
'tenant_id', 'model_type', 'code', 'name', 'legacy_code', 'legacy_num',
'model_name', 'model_UA', 'item_sep', 'finishing_type', 'author', 'remark',
'check_type', 'rail_width', 'rail_length',
'exit_direction', 'front_bottom_width', 'box_width', 'box_height',