Closed productdevbook closed 9 months ago
lucia-auth
if .default(sqluuid_generate_v4()), I get a type error when I add default.
.default(sql
),
export const user = pgTable('user', { id: uuid('id').primaryKey().default(sql`uuid_generate_v4()`),
Fixed with @lucia-auth/adapter-drizzle@1.0.0-beta.6
@lucia-auth/adapter-drizzle@1.0.0-beta.6
Package
lucia-auth
Describe the bug
if
.default(sql
uuid_generate_v4()),
I get a type error when I add default.