In mysql, i tried changing an existing table like this:
ALTER TABLE `etexts` CHANGE `etext` `etext` VARCHAR( 100 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT NULL
I got the response:
#1067 - Invalid default value for 'etext'
Why?
It’s contradictive…
NOT NULL, but make it defaultNULL…Remove
DEFAULT NULLand changeNOT NULLtoNULL: