Starting from Moodle 1.7 we are installing all the TEXT fields without defaults. That's OK.
But some old installations will contain some defaults under such type of columns. The idea is to iterate over all the fields of this type in Moodle, dropping the default clause if present.
Needed for MySQL and PostgreSQL (there weren't other flavours before 1.7)