Commit Graph

8 Commits

Author SHA1 Message Date
?..濡..
0e27355932 Refactor models and schemas for improved consistency and functionality
- Updated import statements in `mooc/models/__init__.py` to use parentheses for clarity.
- Refactored `mooc/models/core.py` to replace `UnsignedInteger` with `INTEGER(unsigned=True)` for better compatibility.
- Introduced new `MobileNumber` model in `mooc/models/mobile_number.py` with appropriate fields.
- Added `ProfileFields` model in `mooc/models/profile_fields.py` with detailed attributes.
- Updated schemas in `mooc/schemas/mobile_number.py` and `mooc/schemas/profile_fields.py` to reflect model changes and improve naming conventions.
- Ensured all models and schemas are consistent with naming and data types.
2025-01-09 06:43:18 +08:00
Basyc
6341a1546e
update mooc/models/__init__.py.
Signed-off-by: Basyc <12016870+basyc@user.noreply.gitee.com>
2025-01-06 05:29:40 +00:00
jieyuu
3ed18a297e feat(models): 添加schemas,models并生成部分 CRUD 接口
- 在 mooc/models/__init__.py 中添加了 part3中数据库表的导入
- 新增了 mooc/crud/crud_goouc_fullexam.py 文件,实现了 goouc_fullexam 相关表的 CRUD 接口
- 添加了 Advert、Banji、Banner 等多个模型类的 CRUD 操作方法
2025-01-06 00:39:05 +08:00
雨过
81d9a0d5fd
update mooc/models/__init__.py. 加入core表,userapi表和users表
Signed-off-by: 雨过 <zxx1747362695@qq.com>
2025-01-05 16:27:30 +00:00
雨过
f377edfbb7
update mooc/models/__init__.py. 加入core表,userapi表和users表
Signed-off-by: 雨过 <zxx1747362695@qq.com>
2025-01-05 15:05:53 +00:00
雨过
dcc79ecd88
update mooc/models/__init__.py. 加入core表,userapi表和users表
Signed-off-by: 雨过 <zxx1747362695@qq.com>
2025-01-05 07:46:42 +00:00
?..濡..
173580c0af 优化数据库表的创建与检查 2025-01-04 01:13:47 +08:00
烟雨如花
4f34f5b8be init 2024-12-31 22:27:04 +08:00