default value of a column is reset to null on an update mutation? #6283
Unanswered
stayingcool
asked this question in
General
Replies: 1 comment 3 replies
-
@stayingcool - Assuming it has a foreign key constraint, Is the completedUserID having an |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Folks,
Do you know why the default value of a column is reset to null on an update mutation?
Column Definition is as follows, When the record is inserted without the completedUserID, then completedUserID should be having a fixed value of "None". On insertion, I can see a default value of "None".
However, when the update mutation is invoked to update some other fields, completedUserID is reset to null!
Any clues as to what's going on?
Beta Was this translation helpful? Give feedback.
All reactions