fixing naming strategy bug - naming of related column in owner relation
This commit is contained in:
parent
71688d8343
commit
b0678e6474
@ -40,7 +40,8 @@ export abstract class AbstractDriver {
|
||||
column2.relations
|
||||
.filter(relation => {
|
||||
return (
|
||||
relation.ownerTable == entity.EntityName &&
|
||||
relation.relatedTable ==
|
||||
entity.EntityName &&
|
||||
relation.ownerColumn == column.tsName
|
||||
);
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user