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

Sqlite reserved constraint names cannot be recreated #8759

Closed
do4gr opened this issue Aug 16, 2021 · 0 comments · Fixed by prisma/prisma-engines#2153
Closed

Sqlite reserved constraint names cannot be recreated #8759

do4gr opened this issue Aug 16, 2021 · 0 comments · Fixed by prisma/prisma-engines#2153
Assignees
Labels
bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug. team/schema Issue for team Schema. topic: namedConstraints
Milestone

Comments

@do4gr
Copy link
Member

do4gr commented Aug 16, 2021

Bug description

sqlite_ is a reserved namespace on Sqlite. So constraints that start with this name and are introspected cannot be re-created by migrate without a workaround.

@do4gr do4gr added bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug. team/schema Issue for team Schema. labels Aug 16, 2021
@do4gr do4gr added this to the 2.30.0 milestone Aug 16, 2021
@do4gr do4gr self-assigned this Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug. team/schema Issue for team Schema. topic: namedConstraints
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants