Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: v3 DrizzlePostgreSQLAdapter default type problem #1322

Closed
Tracked by #80
productdevbook opened this issue Dec 31, 2023 · 1 comment
Closed
Tracked by #80

[Bug]: v3 DrizzlePostgreSQLAdapter default type problem #1322

productdevbook opened this issue Dec 31, 2023 · 1 comment
Labels
bug Something ain't right...

Comments

@productdevbook
Copy link

Package

lucia-auth

Describe the bug

if .default(sqluuid_generate_v4()), I get a type error when I add default.

export const user = pgTable('user', {
  id: uuid('id').primaryKey().default(sql`uuid_generate_v4()`),

CleanShot 2023-12-31 at 06 59 00@2x

@productdevbook productdevbook added the bug Something ain't right... label Dec 31, 2023
@pilcrowonpaper
Copy link
Member

Fixed with @lucia-auth/[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something ain't right...
Projects
None yet
Development

No branches or pull requests

2 participants