INSERT INTO `process` (`serial_prc`, `prc_serial_prc`, `name_prc`, `link_prc`, `weight_prc`, `status_prc`) VALUES ('863', '199', 'Importación Toddle', 'laravel/public/toddleImport', '55', 'LOCKABLE');
insert into allowed_pages_by_process values (863,'ToddleImportController@getIndex');
insert into allowed_pages_by_process values (863,'ToddleImportController@postContainerRegisterStudent');
insert into allowed_pages_by_process values (863,'ToddleImportController@postLoadFileStudentBySection');
insert into allowed_pages_by_process values (863,'BaseMethodsTemplateController@postDropDownSchoolYear');
insert into allowed_pages_by_process values (863,'BaseMethodsTemplateController@postSectionWithLevel');
insert into allowed_pages_by_process values (863,'ToddleImportController@postSaveFile');
insert into allowed_pages_by_process values (863,'ToddleImportController@postProcessStudent');
insert into allowed_pages_by_process values (863,'ToddleImportController@postContainerRegisterGrades');
insert into allowed_pages_by_process values (863,'ToddleImportController@postLoadFileGradesBySection');
insert into allowed_pages_by_process values (863,'ToddleImportController@postProcessGrades');

ALTER TABLE `level_section_year_specialty` 
ADD COLUMN `toddle_grade` ENUM('PYP','MYP','DP') NULL DEFAULT NULL AFTER `use_for_transcript`;


CREATE TABLE `myp_scale` (
  `serial_myp` INT NOT NULL AUTO_INCREMENT,
  `toddle_grade` INT NOT NULL,
  `BI_grade` INT NOT NULL,
  `learnbox_grade` DECIMAL(8,5) NOT NULL,
  `status_myp` ENUM('ACTIVE','INACTIVE') NOT NULL DEFAULT 'ACTIVE',
  PRIMARY KEY (`serial_myp`));
