Skip to content

Commit 8110f09

Browse files
committed
datamodel modified
1 parent d5ed995 commit 8110f09

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

database/datamodel.graphql

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ type User {
3232
transaction_maked: [Transaction]
3333
@relation(link: INLINE, name: "Transaction_maked")
3434
coupons_maked: [Coupon] @relation(link: INLINE, name: "Coupon_maked")
35+
uncheckTransactions: UncheckTransactions
36+
@relation(link: INLINE, name: "Uncheck_transactions")
3537
createdAt: DateTime! @createdAt
3638
updatedAt: DateTime! @updatedAt
3739
}
@@ -129,6 +131,13 @@ type Notification {
129131
createdAt: DateTime! @createdAt
130132
updatedAt: DateTime! @updatedAt
131133
}
134+
type UncheckTransactions {
135+
id: ID! @id
136+
userUncheckTransactionsId: String
137+
userUncheckTransactions: User @relation(name: "Uncheck_transactions")
138+
totalPrice: Int @default(value: 0)
139+
totalTransactions: Int @default(value: 0)
140+
}
132141
type Reviews {
133142
reviewID: ID! @id
134143
reviewTitle: String

0 commit comments

Comments
 (0)