Add description field to FTP accounts, fixes #1340
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>
This commit is contained in:
@@ -2668,3 +2668,15 @@ if (isFroxlorVersion('0.9.32-dev2')) {
|
||||
|
||||
updateToVersion('0.9.32-dev3');
|
||||
}
|
||||
|
||||
if (isFroxlorVersion('0.9.32-dev3')) {
|
||||
|
||||
showUpdateStep("Updating from 0.9.32-dev3 to 0.9.32-dev4");
|
||||
lastStepStatus(0);
|
||||
|
||||
showUpdateStep("Adding news FTP-description field");
|
||||
Database::query("ALTER TABLE `".TABLE_FTP_USERS."` ADD `description` varchar(255) NOT NULL DEFAULT '' AFTER `customerid`;");
|
||||
lastStepStatus(0);
|
||||
|
||||
updateToVersion('0.9.32-dev4');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user