refactor schema to match database schema

This commit is contained in:
2024-10-27 13:12:24 +07:00
parent 8d46676a37
commit 9e0e97a560
14 changed files with 73 additions and 63 deletions

View File

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