Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Isn't this expected behaviour though? Your database value is most likely set to NULL as a string. Can you confirm for this?
I've tried to reproduce the issue with a NULL value and it was working properly. The only way I managed was to set NULL as a string.