Skip to content

fix: add releation edit - #157

Merged
mengnankkkk merged 15 commits into
mainfrom
hotfix/releation_edit
Oct 1, 2026
Merged

mengnankkkk merged 15 commits into
mainfrom
hotfix/releation_edit

Conversation

@mengnankkkk

@mengnankkkk mengnankkkk commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

本地修改涉及的范围:
语义关联改用表主键。 列记录通过 table_id、逻辑关系通过源表和目标表 ID 关联 table_info;后端查询、同步和关系工作区也相应改为按 ID 处理。
保留不同类型的关系。 Agent 语义提示词不再仅按两端表和列去重;同一组端点配置的不同关系类型可以同时保留。前端关系工作区改用关系 ID 标识每条关系。
合并旧库迁移。 现在只保留 migration_primary_key_relations.sql:先检查重复记录和无法匹配的引用,再迁移 ID、索引与外键,并补齐旧库兼容字段。各结构步骤按现状判断,便于失败后修复并重跑。入门、配置和语义层文档已统一为执行这一份脚本。
明确物理缺失表的重置后果。 前端提示重置时会删除该表的语义记录及相关逻辑关系。

@github-actions

Copy link
Copy Markdown

Thank you for your contribution! We will review your request as soon as possible. Please review the code yourself using ponytail https://github.com/DietrichGebert/ponytail.

@mengnankkkk
mengnankkkk merged commit 4700b85 into main Oct 1, 2026
3 checks passed
@mengnankkkk
mengnankkkk deleted the hotfix/releation_edit branch October 1, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant