Commit f8f14f2
fix: return tableName in property.reference() (#51)(@leibowitz)
* fix: return tableName in property.reference()
Fix issue when foreign key is not defining a reference,
but a relationship exists, resulting in this:
Error: There are no resources with given id: "[object Object]"
Or
Error: There are no resources with given id: ""schema"."table""
* chore: temporarily cast references.model as any
Co-authored-by: Rafał Dzięgielewski <rafal.dzieg@gmail.com>1 parent 4dd8523 commit f8f14f2
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
| |||
0 commit comments