Grow value column size
This commit is contained in:
parent
9c256643fa
commit
926c68be5d
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user