We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae79cdb commit fb061b4Copy full SHA for fb061b4
2 files changed
src/config/databases/ecommerce/edges.json
@@ -53,14 +53,14 @@
53
"sourceKey": "id",
54
"target": "returns",
55
"targetKey": "cart_id",
56
- "relation": "hasOne"
+ "relation": "hasMany"
57
},
58
{
59
"source": "items",
60
61
62
"targetKey": "item_id",
63
64
65
66
"source": "carts",
@@ -74,6 +74,6 @@
74
"sourceKey": "code",
75
"target": "purchases",
76
"targetKey": "discount_code",
77
78
}
79
]
src/config/databases/live/edges.json
@@ -18,7 +18,7 @@
18
19
"target": "trials",
20
"targetKey": "user_id",
21
- "relation": "hasMany"
+ "relation": "hasOne"
22
23
24
"source": "products",
0 commit comments