UPDATE COMPETENCE_COURSE_LOAD SET AUTONOMOUS_WORK_HOURS = '0.0' WHERE AUTONOMOUS_WORK_HOURS IS NULL;
UPDATE COMPETENCE_COURSE_LOAD SET FIELD_WORK_HOURS = '0.0' WHERE FIELD_WORK_HOURS IS NULL;
UPDATE COMPETENCE_COURSE_LOAD SET LABORATORIAL_HOURS = '0.0' WHERE LABORATORIAL_HOURS IS NULL;
UPDATE COMPETENCE_COURSE_LOAD SET PROBLEMS_HOURS = '0.0' WHERE PROBLEMS_HOURS IS NULL;
UPDATE COMPETENCE_COURSE_LOAD SET SEMINARY_HOURS = '0.0' WHERE SEMINARY_HOURS IS NULL;
UPDATE COMPETENCE_COURSE_LOAD SET THEORETICAL_HOURS = '0.0' WHERE THEORETICAL_HOURS IS NULL;
UPDATE COMPETENCE_COURSE_LOAD SET TRAINING_PERIOD_HOURS = '0.0' WHERE TRAINING_PERIOD_HOURS IS NULL;
UPDATE COMPETENCE_COURSE_LOAD SET TUTORIAL_ORIENTATION_HOURS = '0.0' WHERE TUTORIAL_ORIENTATION_HOURS IS NULL;
UPDATE COMPETENCE_COURSE_LOAD SET OTHER_HOURS = '0.0' WHERE OTHER_HOURS IS NULL;

ALTER TABLE COMPETENCE_COURSE_LOAD CHANGE COLUMN AUTONOMOUS_WORK_HOURS AUTONOMOUS_WORK_HOURS DOUBLE DEFAULT 0.0;
ALTER TABLE COMPETENCE_COURSE_LOAD CHANGE COLUMN FIELD_WORK_HOURS FIELD_WORK_HOURS DOUBLE DEFAULT 0.0;
ALTER TABLE COMPETENCE_COURSE_LOAD CHANGE COLUMN LABORATORIAL_HOURS LABORATORIAL_HOURS DOUBLE DEFAULT 0.0;
ALTER TABLE COMPETENCE_COURSE_LOAD CHANGE COLUMN PROBLEMS_HOURS PROBLEMS_HOURS DOUBLE DEFAULT 0.0;
ALTER TABLE COMPETENCE_COURSE_LOAD CHANGE COLUMN SEMINARY_HOURS SEMINARY_HOURS DOUBLE DEFAULT 0.0;
ALTER TABLE COMPETENCE_COURSE_LOAD CHANGE COLUMN THEORETICAL_HOURS THEORETICAL_HOURS DOUBLE DEFAULT 0.0;
ALTER TABLE COMPETENCE_COURSE_LOAD CHANGE COLUMN TRAINING_PERIOD_HOURS TRAINING_PERIOD_HOURS DOUBLE DEFAULT 0.0;
ALTER TABLE COMPETENCE_COURSE_LOAD CHANGE COLUMN TUTORIAL_ORIENTATION_HOURS TUTORIAL_ORIENTATION_HOURS DOUBLE DEFAULT 0.0;
ALTER TABLE COMPETENCE_COURSE_LOAD CHANGE COLUMN OTHER_HOURS OTHER_HOURS DOUBLE DEFAULT 0.0;