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

Test mysql defaults #596

Merged
merged 4 commits into from Mar 20, 2020
Merged

Test mysql defaults #596

merged 4 commits into from Mar 20, 2020

Conversation

tomhoule
Copy link
Contributor

No description provided.

Before this change, a non-literal prisma-level default would result in a
`NULL` being inserted because missing values were filled with nulls at
the input value parsing stage.

We now skip inserting these values, and leave them for the database to
fill in.
@tomhoule tomhoule added this to the Preview 25 milestone Mar 20, 2020
@tomhoule tomhoule requested review from do4gr and dpetrick March 20, 2020 11:44
@tomhoule tomhoule marked this pull request as ready for review March 20, 2020 11:44
@tomhoule tomhoule merged commit e3d8ca3 into master Mar 20, 2020
@tomhoule tomhoule deleted the test-mysql-defaults branch March 20, 2020 17:44
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

Successfully merging this pull request may close these issues.

None yet

1 participant