update schema due to majority database change
This commit is contained in:
@@ -40,7 +40,9 @@ export class CategorySchema extends PothosSchema {
|
||||
return this.builder.prismaObject('SubCategory', {
|
||||
description: 'A subcategory of services.',
|
||||
fields: (t) => ({
|
||||
id: t.exposeID('id'),
|
||||
id: t.exposeID('id', {
|
||||
description: 'The unique identifier of the subcategory.',
|
||||
}),
|
||||
name: t.exposeString('name', {
|
||||
description: 'The name of the subcategory.',
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user