Skip to content

Commit

Permalink
fix: Add sessions relation in drizzle-schema-auth
Browse files Browse the repository at this point in the history
  • Loading branch information
ImPrankster committed Nov 6, 2023
1 parent ea47528 commit daa9de0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/template/extras/src/server/db/drizzle-schema-auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export const users = mysqlTable("user", {

export const usersRelations = relations(users, ({ many }) => ({
accounts: many(accounts),
sessions: many(sessions),
}));

export const accounts = mysqlTable(
Expand Down

0 comments on commit daa9de0

Please sign in to comment.