Closed psolom closed 8 years ago
I have found that DEFAULT VALUE is ignored if it == 0 The only thing required to solve the issue is replace empty() to is_null() upon checking 'defaultValue' I tested it on MySQL but believe it is the same for others.
Thank you, it's been merged.
I have found that DEFAULT VALUE is ignored if it == 0 The only thing required to solve the issue is replace empty() to is_null() upon checking 'defaultValue' I tested it on MySQL but believe it is the same for others.