]> git.mjollnir.org Git - moodle.git/commitdiff
Changed info field in backp_ids to store text data
authorstronk7 <stronk7>
Sat, 24 May 2003 09:23:05 +0000 (09:23 +0000)
committerstronk7 <stronk7>
Sat, 24 May 2003 09:23:05 +0000 (09:23 +0000)
(used when restoring long portions of data9

backup/db/backup_mysql.php

index a967f9af3b77297d5efc6006a62c50074bf29fa8..2f4bc032fcedc11b7d46745aeab2a74f5d6c3b21 100644 (file)
@@ -56,6 +56,11 @@ function backup_upgrade($oldversion=0) {
                                ) COMMENT  =  'To store and recode ids to user & course files.'");
     }
 
+    if ($oldversion < 2003052000 and $result) {
+        $result = execute_sql("ALTER TABLE `{$CFG->prefix}backup_ids`
+                         MODIFY `info` TEXT");
+    } 
+
     //Finally, return result
     return $result;