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

Auto-generated string ID is not mapping to Generated<string> #105

Closed
Serpentarius13 opened this issue Aug 11, 2024 · 1 comment
Closed

Comments

@Serpentarius13
Copy link

Serpentarius13 commented Aug 11, 2024

Now, generator outputs Generated for ID only if its a number. When using cuid or uuid in prisma's @default, it outputs string and requires it to be passed when creating new row

@Serpentarius13
Copy link
Author

Serpentarius13 commented Aug 11, 2024

Okay, I see why now - No cuid generation from sqlite for me! Should close

@valtyr valtyr closed this as completed Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants