default null

BubikolRamios's profile image BubikolRamios posted 13 years ago in General Permalink
basic tab of table editing
1.add new column
2.set default value to null
3. save --> does not let coz it is not checked allow null

it would be logical that 3 would be done automaticaly upon action 2.

regards.
ansgar's profile image ansgar posted 13 years ago Permalink
Yes, agree. The other way around is already implemented, when you uncheck "Allow NULL" - the default value is auto-changed from NULL to "no default".
Code modification/commit from ansgar.becker, 13 years ago, revision 6.0.0.3898
Allow NULL when selecting NULL as default value. See http://www.heidisql.com/forum.php?t=8790
ansgar's profile image ansgar posted 13 years ago Permalink
Done in r3898
BubikolRamios's profile image BubikolRamios posted 13 years ago Permalink
Thanks.

Please login to leave a reply, or register at first.