mirror of
https://github.com/allthingslinux/tux.git
synced 2024-10-03 09:03:12 +00:00
732f353a36
feat(schema.prisma): add case_status field to Case model to track case status fix(schema.prisma): change case_number and note_number types from Int to BigInt to handle larger numbers docs(case.py): add docstrings to methods in CaseController class to improve code readability and provide detailed information about the methods' functionality and parameters refactor(case.py): remove get_all_cases and get_case_by_id methods from CaseController class as they were not being used, reducing unnecessary code feat(case.py): import logger from loguru for better logging capabilities feat(case.py): import CaseWhereInput from prisma.types to handle case queries more efficiently refactor(case.py): simplify case retrieval methods in CaseController - Replace multiple specific case retrieval methods with more general methods that accept options for filtering. - This reduces code duplication and improves maintainability. - Add docstrings to new methods to improve code readability and provide usage information. refactor: simplify and optimize case retrieval methods in the database layer feat: add update_case method to allow case reason and status modification feat: add delete_case_by_number method to allow case deletion by its number |
||
---|---|---|
.. | ||
schema.prisma |