fix(auth): generate UUID ids to match postgres schema
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user