fix: add missing team reference in teamMember schema (#3801)

This commit is contained in:
KinfeMichael Tariku
2025-08-05 17:31:21 -07:00
committed by GitHub
parent 1932d04c5a
commit 69d5239e8f
@@ -597,6 +597,10 @@ export const organization = <O extends OrganizationOptions>(
teamId: {
type: "string",
required: true,
references: {
model: "team",
field: "id",
},
fieldName: options?.schema?.teamMember?.fields?.teamId,
},
userId: {