Grow value column size

This commit is contained in:
jonthekiller 2020-08-02 10:32:27 +02:00 committed by GitHub
parent 9c256643fa
commit 926c68be5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,6 +79,14 @@ class SettingManager implements CallbackListener, UsageInformationAble {
} }
} }
// Grow the size limit for plugins settings
$mysqli->query("ALTER TABLE `" . self::TABLE_SETTINGS . "` MODIFY `value` VARCHAR(500);");
if ($mysqli->error) {
// If not Duplicate
if ($mysqli->errno !== 1060) {
trigger_error($mysqli->error, E_USER_ERROR);
}
}
return $result; return $result;
} }