refactor schema to match database schema
This commit is contained in:
@@ -52,13 +52,13 @@ export class UploadedFileSchema extends PothosSchema {
|
||||
user: t.relation('user', {
|
||||
description: 'The user who uploaded the file.',
|
||||
}),
|
||||
Center: t.relation('Center', {
|
||||
center: t.relation('center', {
|
||||
description: 'The center that the file belongs to.',
|
||||
}),
|
||||
Service: t.relation('Service', {
|
||||
service: t.relation('service', {
|
||||
description: 'The service that the file belongs to.',
|
||||
}),
|
||||
Workshop: t.relation('Workshop', {
|
||||
workshop: t.relation('workshop', {
|
||||
description: 'The workshop that the file belongs to.',
|
||||
}),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user