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

fix: skip append relation field to default db value #5885

Merged
merged 2 commits into from
Dec 1, 2022

Conversation

a631807682
Copy link
Member

  • Do only one thing
  • Non breaking API changes
  • Tested

What did this pull request do?

closes #5882

User Case Description

@a631807682 a631807682 changed the title fix: relation field returning fix: skip append relation field to default db value Nov 28, 2022
@jinzhu jinzhu merged commit d9525d4 into go-gorm:master Dec 1, 2022
@a631807682 a631807682 deleted the fix_5882 branch December 1, 2022 12:58
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.

Adding default:NULL to a Belongs To field ends up generating invalid SQL for Update Queries
2 participants