feat: item_fields 테이블에 is_active 컬럼 추가

- 마이그레이션: is_active 컬럼 추가 (기본값 true)
- ItemField 모델: fillable, casts에 is_active 추가
- ItemFieldService: store, storeIndependent, clone, update 메서드에 is_active 처리
- FormRequest: is_active 유효성 검사 규칙 추가
- API Flow 테스트 시나리오 추가 (docs/api-flows/)
- docs/INDEX.md에 api-flows 섹션 추가

ModelTrait::scopeActive() 메서드 사용을 위한 필수 컬럼
This commit is contained in:
2025-12-05 14:40:09 +09:00
parent c946fa457c
commit 5131bfff98
7 changed files with 232 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ class ItemField extends Model
'category',
'description',
'is_common',
'is_active',
'is_locked',
'locked_by',
'locked_at',
@@ -41,6 +42,7 @@ class ItemField extends Model
'order_no' => 'integer',
'is_required' => 'boolean',
'is_common' => 'boolean',
'is_active' => 'boolean',
'is_locked' => 'boolean',
'display_condition' => 'array',
'validation_rules' => 'array',