mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-11-22 19:39:31 +08:00
从内部项目迁移模型配置和镜像配置模块,包括个人用户设置和团队级管理, 涵盖完整 CRUD、健康检查、供应商模型列表、所有权模型和 Swagger 注释。 - Ent schema: model, image, team_model, team_image, team_group_model, team_group_image - Domain 层: 接口、请求/响应类型、From 转换器 - Setting 模块: 个人模型/镜像 repo、usecase(代理重试、健康检查)、handler - Team 模块: 团队模型/镜像 repo、usecase、handler(TeamAuth + 审计中间件) - SQL 迁移: 000002_model_image up/down
7 lines
254 B
SQL
7 lines
254 B
SQL
DROP TABLE IF EXISTS team_group_images CASCADE;
|
|
DROP TABLE IF EXISTS team_images CASCADE;
|
|
DROP TABLE IF EXISTS team_group_models CASCADE;
|
|
DROP TABLE IF EXISTS team_models CASCADE;
|
|
DROP TABLE IF EXISTS images CASCADE;
|
|
DROP TABLE IF EXISTS models CASCADE;
|