Isolate to_many from one_to_one in bdb
This commit is contained in:
parent
9bc5b3fa40
commit
b918e9ef9e
5 changed files with 182 additions and 94 deletions
bdb
|
@ -119,5 +119,6 @@ func setForeignKeyConstraints(t *Table, tables []Table) {
|
|||
}
|
||||
|
||||
func setRelationships(t *Table, tables []Table) {
|
||||
t.ToOneRelationships = toOneRelationships(*t, tables)
|
||||
t.ToManyRelationships = toManyRelationships(*t, tables)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue