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

Prisma adapter: Foreign key constraint ignored for Refresh_Tokens.user_id when using PlanetScale #8

Closed
pilcrowOnPaper opened this issue Jul 26, 2022 · 2 comments
Labels
bug Something ain't right...

Comments

@pilcrowOnPaper
Copy link
Member

No errors are thrown when Lucia attempts to create a new row for Refresh_Token using a user_id of a user that does not exist when using it with PlanetScale. Not sure if this is a problem with PlanetScale, Prisma, or the code.

@pilcrowOnPaper pilcrowOnPaper added help wanted bug Something ain't right... labels Jul 26, 2022
@pilcrowOnPaper
Copy link
Member Author

@pilcrowOnPaper pilcrowOnPaper changed the title Prisma adapter: Prisma/PlanetScale ignores foreign key constraint for Refresh_Tokens.user_id Prisma adapter: Foreign key constraint ignored for Refresh_Tokens.user_id when using PlanetScale Jul 26, 2022
@pilcrowOnPaper
Copy link
Member Author

I have no idea how to fix this and isn't an issue with Lucia, so I'll close this for now

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

1 participant