feat(diagram): add modeled ERD relationships

This commit is contained in:
t8y2 committed 2026-06-26 18:44:47 +08:00
1 parent 3e8c4273b2
commit 2b99cd3b62
7 files changed
+717 -147

No files matched your search

+20
View File
@@ -1566,6 +1566,26 @@ export default {
relationshipsCount: "{count} relationships",
tableMode: "Table View",
engineeringMode: "Engineering ER",
modelRelationships: "Model Relationships",
copyJoinSql: "Copy SQL",
customRelationshipsCount: "{count} modeled",
relationshipName: "Name",
relationshipNamePlaceholder: "Optional",
sourceTable: "Source table",
sourceColumn: "Source column",
targetTable: "Target table",
targetColumn: "Target column",
cardinality: "Cardinality",
cardinalityOneToMany: "1:N",
cardinalityManyToOne: "N:1",
cardinalityOneToOne: "1:1",
addRelationship: "Add relationship",
removeRelationship: "Remove relationship",
relationshipIncomplete: "Select both source and target columns",
relationshipSelfInvalid: "A relationship cannot target the same column",
relationshipExists: "This relationship already exists",
relationshipAdded: "Relationship added",
noJoinSql: "No relationship SQL to copy",
allTables: "All Tables",
relatedTables: "Related Tables",
moreColumns: "+ {count} columns",
+20
View File
@@ -1540,6 +1540,26 @@ export default {
relationshipsCount: "{count}リレーション",
tableMode: "テーブルビュー",
engineeringMode: "エンジニアリングER",
modelRelationships: "モデル関係",
copyJoinSql: "SQLをコピー",
customRelationshipsCount: "{count}件モデル化",
relationshipName: "名前",
relationshipNamePlaceholder: "任意",
sourceTable: "ソーステーブル",
sourceColumn: "ソース列",
targetTable: "ターゲットテーブル",
targetColumn: "ターゲット列",
cardinality: "カーディナリティ",
cardinalityOneToMany: "1:N",
cardinalityManyToOne: "N:1",
cardinalityOneToOne: "1:1",
addRelationship: "関係を追加",
removeRelationship: "関係を削除",
relationshipIncomplete: "ソース列とターゲット列を選択してください",
relationshipSelfInvalid: "同じ列への関係は作成できません",
relationshipExists: "この関係はすでに存在します",
relationshipAdded: "関係を追加しました",
noJoinSql: "コピーできる関係SQLがありません",
allTables: "全テーブル",
relatedTables: "関連テーブル",
moreColumns: "+ {count}列",
+20
View File
@@ -1565,6 +1565,26 @@ export default {
relationshipsCount: "{count} 条关系",
tableMode: "表结构图",
engineeringMode: "工程 ER 图",
modelRelationships: "建模关系",
copyJoinSql: "复制 SQL",
customRelationshipsCount: "{count} 条建模",
relationshipName: "名称",
relationshipNamePlaceholder: "可选",
sourceTable: "源表",
sourceColumn: "源字段",
targetTable: "目标表",
targetColumn: "目标字段",
cardinality: "基数",
cardinalityOneToMany: "1:N",
cardinalityManyToOne: "N:1",
cardinalityOneToOne: "1:1",
addRelationship: "添加关系",
removeRelationship: "删除关系",
relationshipIncomplete: "请选择源字段和目标字段",
relationshipSelfInvalid: "关系不能指向同一个字段",
relationshipExists: "该关系已存在",
relationshipAdded: "关系已添加",
noJoinSql: "暂无可复制的关系 SQL",
allTables: "全部表",
relatedTables: "相关表",
moreColumns: "+ {count} 个字段",