Menu

#447 Field default value changes (0.0 to 0) fail

5.1
open
nobody
None
5
2014-08-02
2014-08-02
No

Create new field, type numeric(11,7), default value 0.0
Change field type to integer
Change default value to 0

The default value is still 0.0. I have to change it for example to 1 and then again to 0 to gain success. Same issue when changing from 1 to 1.0, and from integer to numeric. It seems that if the values real value is not changing (0 == 0.0 and so on) there will be no update.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB