Commit 7c3b89df authored by Till Brehm's avatar Till Brehm

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.
parent 7000d9bb
UPDATE `sys_user` SET `app_theme` = 'default' WHERE 1;
ALTER TABLE `ftp_user` ADD `user_type` SET('user','system') NOT NULL DEFAULT 'user' AFTER `expires`, ADD `user_config` TEXT NULL AFTER `user_type`;
\ No newline at end of file
......@@ -644,6 +644,8 @@ CREATE TABLE `ftp_user` (
`ul_bandwidth` int(11) NOT NULL default '-1',
`dl_bandwidth` int(11) NOT NULL default '-1',
`expires` datetime NULL DEFAULT NULL,
`user_type` set('user','system') NOT NULL DEFAULT 'user',
`user_config` text,
PRIMARY KEY (`ftp_user_id`),
KEY `active` (`active`),
KEY `server_id` (`server_id`),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment