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

@@ -83,10 +83,10 @@ export class UserSchema extends PothosSchema {
centerStaffChatRoom: t.relation('centerStaffChatRoom', {
description: 'The center staff chat room of the user.',
}),
CenterStaff: t.relation('CenterStaff', {
centerStaff: t.relation('centerStaff', {
description: 'The center staff of the user.',
}),
WorkshopSubscription: t.relation('WorkshopSubscription', {
workshopSubscription: t.relation('workshopSubscription', {
description: 'The workshop subscription of the user.',
}),
}),