relation Schedules to Order
This commit is contained in:
@@ -44,6 +44,10 @@ export class ScheduleSchema extends PothosSchema {
|
||||
description: 'The ID of the order the schedule belongs to.',
|
||||
nullable: true,
|
||||
}),
|
||||
order: t.relation('Order', {
|
||||
description: 'The order that belongs to orderId.',
|
||||
nullable: true,
|
||||
}),
|
||||
scheduleStart: t.expose('scheduleStart', {
|
||||
type: 'DateTime',
|
||||
nullable: false,
|
||||
|
||||
Reference in New Issue
Block a user