Updated version to 2003061100 and modify backup tables (mediumtext)

This commit is contained in:
stronk7 2003-06-12 17:40:55 +00:00
parent 13e1a20fe1
commit 10453b424e
2 changed files with 7 additions and 2 deletions

View File

@ -5,6 +5,6 @@
// database (backup_version) to determine whether upgrades should
// be performed (see db/backup_*.php)
$backup_version = 2003061000; // The current version is a date (YYYYMMDDXX)
$backup_version = 2003061100; // The current version is a date (YYYYMMDDXX)
$backup_release = "0.5.5 alpha"; // User-friendly version number
$backup_release = "0.5.7 alpha"; // User-friendly version number

View File

@ -61,6 +61,11 @@ function backup_upgrade($oldversion=0) {
MODIFY `info` TEXT");
}
if ($oldversion < 2003061100 and $result) {
$result = execute_sql("ALTER TABLE `{$CFG->prefix}backup_ids`
MODIFY `info` MEDIUMTEXT");
}
//Finally, return result
return $result;