Skip to content

Commit

Permalink
Fix missing attributes of relation when adding it to an existing table
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Hoobergs committed Jul 9, 2024
1 parent 044dc52 commit f2f497e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erd/src/physical.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ impl EntityTableDescription {
r#type: AttributeType::Normal,
datatype: a.get_data_type().map(|d| d.foreign_key_type()),
})
.chain(erd.get_relation_attributes(c.relation.clone()).into_iter())
}))
.map(|c| TableColumn {
name: c.get_ident(),
Expand Down

0 comments on commit f2f497e

Please sign in to comment.