You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment d2 can't represent FKs that are composed of more than one column.
Example:
tenant: {
shape: sql_table
id: int {constraint: primary_key}
}
project: {
shape: sql_table
id: int
tenant: int {constraint: foreign_key}
# here i may want to have the PK defined as (id, tenant)
}
tenant.id <- project.tenant
The text was updated successfully, but these errors were encountered:
At the moment d2 can't represent
FK
s that are composed of more than one column.Example:
The text was updated successfully, but these errors were encountered: