add missing DB Moodle 2 conversions