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

@@ -28,16 +28,24 @@ export class MilestoneSchema extends PothosSchema {
name: t.exposeString('name', {
description: 'The name of the milestone.',
}),
order: t.exposeInt('order', {
milestoneOrder: t.exposeInt('milestoneOrder', {
description: 'The order of the milestone.',
}),
description: t.exposeString('description', {
description: 'The description of the milestone.',
}),
serviceId: t.exposeID('serviceId', {
description: 'The ID of the service the milestone belongs to.',
}),
service: t.relation('service'),
createdAt: t.expose('createdAt', {
type: 'DateTime',
description: 'The date and time the milestone was created.',
}),
updatedAt: t.expose('updatedAt', {
type: 'DateTime',
description: 'The date and time the milestone was last updated.',
}),
}),
});
}