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

Add Default Constraint Name to PSL for SqlServer #8158

Closed
do4gr opened this issue Jul 8, 2021 · 0 comments · Fixed by prisma/prisma-engines#2156
Closed

Add Default Constraint Name to PSL for SqlServer #8158

do4gr opened this issue Jul 8, 2021 · 0 comments · Fixed by prisma/prisma-engines#2156
Assignees
Labels
kind/feature A request for a new feature. team/schema Issue for team Schema. topic: namedConstraints
Milestone

Comments

@do4gr
Copy link
Member

do4gr commented Jul 8, 2021

Defaults are implemented as constraints on SqlServer. In order to drop them migrate needs their name. Therefore we need to persist their names in the PSL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature A request for a new feature. team/schema Issue for team Schema. topic: namedConstraints
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants