remove unnecessary domains_see_all column

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-12-26 12:12:06 +01:00
parent 15ed0521c5
commit c696542cf5
18 changed files with 7 additions and 47 deletions

View File

@@ -124,7 +124,6 @@ CREATE TABLE `panel_admins` (
`customers_see_all` tinyint(1) NOT NULL default '0',
`domains` int(15) NOT NULL default '0',
`domains_used` int(15) NOT NULL default '0',
`domains_see_all` tinyint(1) NOT NULL default '0',
`caneditphpsettings` tinyint(1) NOT NULL default '0',
`change_serversettings` tinyint(1) NOT NULL default '0',
`diskspace` int(15) NOT NULL default '0',

View File

@@ -75,6 +75,8 @@ if (Froxlor::isFroxlorVersion('0.10.38.3')) {
// mail_users adjustments
Database::query("ALTER TABLE `" . TABLE_MAIL_USERS . "` CHANGE COLUMN `password` `password` varchar(255) NOT NULL default '';");
Database::query("ALTER TABLE `" . TABLE_MAIL_USERS . "` CHANGE COLUMN `password_enc` `password_enc` varchar(255) NOT NULL default '';");
// drop domains_see_all field from panel_admins
Database::query("ALTER TABLE `" . TABLE_PANEL_ADMINS . "` DROP COLUMN `domains_see_all`;");
Update::lastStepStatus(0);
Update::showUpdateStep("Checking for multiple mysql-servers to allow acccess to customers for existing databases");