feat: clients.is_active CHAR(1) → TINYINT(1) Boolean 마이그레이션
- DB: CHAR(1) 'Y'/'N' → TINYINT(1) 0/1 컬럼 타입 변경 - Model: boolean 캐스트 추가, scopeActive() 수정 - Service: toggle(), index() Boolean 로직 적용 - FormRequest: 'in:Y,N' → 'boolean' 검증 규칙 변경 - Swagger: is_active type string → boolean 변경
This commit is contained in:
@@ -51,7 +51,7 @@ public function rules(): array
|
||||
'bad_debt_progress' => 'nullable|in:협의중,소송중,회수완료,대손처리',
|
||||
// 기타
|
||||
'memo' => 'nullable|string',
|
||||
'is_active' => 'nullable|in:Y,N',
|
||||
'is_active' => 'nullable|boolean',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user