Detect CHAR + NOT NULL FIELDS + '' (empty) defaults. They shouldn't be in XMLDB definitions at all. Convert the default to the proper one and output it via xmldb debug.
Detect CHAR + NOT NULL FIELDS + '' (empty) defaults. They shouldn't be in
XMLDB definitions at all. Convert the default to the proper one and
output it via xmldb debug.

dilawar/moodle