update schema

This commit is contained in:
Bill Yang 2025-03-13 19:53:35 -07:00
parent 0e95a88768
commit db06705649
3 changed files with 186 additions and 119 deletions

View file

@ -166,7 +166,7 @@ export function initAuth(allowedOrigins: string[]) {
provider: "pg",
schema: {
// Map our schema tables to what better-auth expects
user: schema.users,
user: schema.user,
account: schema.account,
session: schema.session,
verification: schema.verification,