SyntaxFix
Write A Post
Hire A Developer
Questions
I have met this problem with a column that has ENUM values('0','1'). When I was trying to save a new record, I was assigning value 0 for the ENUM variable.
For the solution: I have changed ENUM variable value from 0 to 1, and 1 to 2.