diff --git a/common/src/relationship.rs b/common/src/relationship.rs index b3312f83..24983af3 100644 --- a/common/src/relationship.rs +++ b/common/src/relationship.rs @@ -6,6 +6,9 @@ pub struct RelationshipHop { pub from_table: String, pub to_table: String, pub fk_source_table: String, + /// The link column's real name, the one the database answers to. Aliases + /// change; a path stored in aliases would have to be rewritten every time + /// one did, and it is read straight into SQL. pub fk_column: String, } @@ -13,9 +16,8 @@ pub struct RelationshipHop { pub struct RelationshipLink { pub source_table: String, pub target_table: String, - /// The column carrying the link, which is the name it was given. A table - /// may link to one target several times, so the target's name does not - /// identify the column. + /// The link column's real name. A table may link to one target several + /// times, so the target's name does not identify the column. pub fk_column: String, } diff --git a/server b/server index c5ff2c81..598521cc 160000 --- a/server +++ b/server @@ -1 +1 @@ -Subproject commit c5ff2c81f1857b9958ffde1737729e149eeac8a6 +Subproject commit 598521ccd446987d8472b2b1b387cfa0b99b0efb