update schema due to majority database change

This commit is contained in:
2024-10-18 01:50:26 +07:00
parent 9dcc84d371
commit 1523642b9d
13 changed files with 293 additions and 61 deletions

View File

@@ -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', {