Skip to content

Commit

Permalink
fixes team members relation
Browse files Browse the repository at this point in the history
  • Loading branch information
xwilson03 committed Aug 4, 2024
1 parent fd75399 commit b1b25dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/db/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export const teams = pgTable("teams", {
});

export const teamsRelations = relations(teams, ({ one, many }) => ({
members: many(userCommonData),
members: many(userHackerData),
invites: many(invites),
}));

Expand Down

0 comments on commit b1b25dd

Please sign in to comment.