From: stronk7 Date: Sat, 24 May 2003 09:23:05 +0000 (+0000) Subject: Changed info field in backp_ids to store text data X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5881bb7e3c30d5fa080b3fba4b73a0f15f071dcb;p=moodle.git Changed info field in backp_ids to store text data (used when restoring long portions of data9 --- diff --git a/backup/db/backup_mysql.php b/backup/db/backup_mysql.php index a967f9af3b..2f4bc032fc 100644 --- a/backup/db/backup_mysql.php +++ b/backup/db/backup_mysql.php @@ -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;