Add description field to FTP accounts, fixes #1340

Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>
This commit is contained in:
Roman Schmerold (BNoiZe)
2014-01-02 22:45:30 +01:00
parent 15515f2840
commit 0c2aa8de45
11 changed files with 48 additions and 9 deletions

View File

@@ -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');
}