- sd_projects: add workspace_dir field - sd_project_repos: new table for multi-repo per project - sd_org_settings: org-level workspace_root + skills_dir - pipeline_deliverables: add repo_name, target_path, deliverable_type enum - cockpit_chat.dspy: load repos+org settings, pass to LLM prompt
25 lines
1.2 KiB
JSON
25 lines
1.2 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "sd_project_repos",
|
|
"title": "项目代码仓库",
|
|
"primary": ["id"],
|
|
"catelog": "entity"
|
|
}
|
|
],
|
|
"fields": [
|
|
{"name": "id", "title": "主键ID", "type": "str", "length": 32, "nullable": "no"},
|
|
{"name": "project_id", "title": "项目ID", "type": "str", "length": 32, "nullable": "no"},
|
|
{"name": "repo_name", "title": "仓库别名", "type": "str", "length": 100, "nullable": "no"},
|
|
{"name": "repo_url", "title": "Git地址", "type": "str", "length": 500, "nullable": "no"},
|
|
{"name": "default_branch", "title": "默认分支", "type": "str", "length": 100, "nullable": "no", "default": "'main'"},
|
|
{"name": "local_path", "title": "本地相对路径", "type": "str", "length": 200},
|
|
{"name": "org_id", "title": "组织ID", "type": "str", "length": 32, "nullable": "no", "default": "'0'"},
|
|
{"name": "created_at", "title": "创建时间", "type": "timestamp", "nullable": "no"}
|
|
],
|
|
"indexes": [
|
|
{"name": "idx_spr_project", "idxtype": "index", "idxfields": ["project_id"]},
|
|
{"name": "idx_spr_org", "idxtype": "index", "idxfields": ["org_id"]}
|
|
]
|
|
}
|