Hola comunidad,
estoy intentando actualizar mi moodle de 1.9.19+ a la versión 2.0.10 para luego continuar actualizando versión a versión hasta llegar a la versión 2.4.
Sin embargo, en la actualización a la 2.0.10 me ha surgido el siguiente error:
Table "upgrade_log" already exist
Encontré que debo Verificar el Esquema de la Base de Datos, he seguido los pasos indicados en http://docs.moodle.org/20/en/Verify_Database_Schema
y tengo el archivo con la diferencia (copio un pequeño fragmento):
-----------------------------------------------------------------
@@ -44,10 +25,10 @@
CREATE TABLE `mdl_assignment` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
- `name` varchar(255) NOT NULL DEFAULT '',
- `description` text NOT NULL,
- `format` smallint(4) unsigned NOT NULL DEFAULT '0',
- `assignmenttype` varchar(50) NOT NULL DEFAULT '',
+ `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
+ `intro` text COLLATE utf8_unicode_ci NOT NULL,
+ `introformat` smallint(4) unsigned NOT NULL DEFAULT '0',
+ `assignmenttype` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`resubmit` tinyint(2) unsigned NOT NULL DEFAULT '0',
`preventlate` tinyint(2) unsigned NOT NULL DEFAULT '0',
`emailteachers` tinyint(2) unsigned NOT NULL DEFAULT '0',
@@ -63,7 +44,7 @@
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_assi_cou_ix` (`course`)
-) ENGINE=MyISAM AUTO_INCREMENT=3687 DEFAULT CHARSET=utf8 COMMENT='Defines assignments';
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Defines assignments';
/*!40101 SET character_set_client = @saved_cs_client */;
-----------------------------------------------------------------
necesito ayuda en:
¿¿¿cómo aplico estos cambios en la base de datos (MySql)???
Saludos cordiales,
Guillermo.