Skip to content

Commit 7c3b89d

Browse files
author
Till Brehm
committed
Fixed #4211 Admin theme breaks when set to blue skin and then upgrading to 3.1rc2
Added fields user_config and user_type to the ftp_user table.
1 parent 7000d9b commit 7c3b89d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
UPDATE `sys_user` SET `app_theme` = 'default' WHERE 1;
2+
ALTER TABLE `ftp_user` ADD `user_type` SET('user','system') NOT NULL DEFAULT 'user' AFTER `expires`, ADD `user_config` TEXT NULL AFTER `user_type`;

install/sql/ispconfig3.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,8 @@ CREATE TABLE `ftp_user` (
644644
`ul_bandwidth` int(11) NOT NULL default '-1',
645645
`dl_bandwidth` int(11) NOT NULL default '-1',
646646
`expires` datetime NULL DEFAULT NULL,
647+
`user_type` set('user','system') NOT NULL DEFAULT 'user',
648+
`user_config` text,
647649
PRIMARY KEY (`ftp_user_id`),
648650
KEY `active` (`active`),
649651
KEY `server_id` (`server_id`),

0 commit comments

Comments
 (0)