Update varchar to text

This commit is contained in:
Tim 2019-09-17 14:36:45 +02:00 committed by GitHub
parent e16c4f0864
commit f4dfbda4a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -573,4 +573,17 @@ class Installer {
$this->execSQL($queries);
$this->log('Combined notifications enabled. Check out the config page for more info.');
}
/**
* Patch for v3.4.1 release
*/
protected function upgrade341() {
$queries = array();
/**
* Redirect_check is first set to default ok.
* If you have a lot of server that are redirecting,
* this will make sure you're servers stay online.
*/
$queries[] = "ALTER TABLE `".PSM_DB_PREFIX."servers` ALTER COLUMN `last_output` text;";
$this->execSQL($queries);
}
}