fix(auth): generate UUID ids to match postgres schema

This commit is contained in:
2026-01-30 15:30:00 +00:00
parent eef354d3b6
commit e5814e1914

View File

@@ -18,6 +18,11 @@ export const auth = betterAuth({
user: schema.users, user: schema.users,
}, },
}), }),
advanced: {
database: {
generateId: 'uuid',
},
},
emailAndPassword: { emailAndPassword: {
enabled: true, enabled: true,
password: { password: {