update schema due to majority database change
This commit is contained in:
@@ -37,7 +37,6 @@ export class OrderSchema extends PothosSchema {
|
||||
}),
|
||||
status: t.expose('status', {
|
||||
type: OrderStatus,
|
||||
nullable: false,
|
||||
description: 'The status of the order.',
|
||||
}),
|
||||
total: t.exposeInt('total', {
|
||||
@@ -54,7 +53,7 @@ export class OrderSchema extends PothosSchema {
|
||||
user: t.relation('user', {
|
||||
description: 'The user who made the order.',
|
||||
}),
|
||||
payment: t.relation('payment', {
|
||||
payment: t.relation('Payment', {
|
||||
description: 'The payment for the order.',
|
||||
}),
|
||||
service: t.relation('service', {
|
||||
|
||||
Reference in New Issue
Block a user