[fix] permission not working, missing CHMOD in enum of actions
This commit is contained in:
parent
79c3058e61
commit
590faa4708
|
@ -737,7 +737,7 @@ CREATE TABLE IF NOT EXISTS `vm_history` (
|
|||
|
||||
CREATE TABLE IF NOT EXISTS `actions` (
|
||||
id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
type enum ('CREATE_FILE','FIX_USER','CREATE_DIR','DELETE','MOVE','FIX_DIR','FIX_FILE'),
|
||||
type enum ('CREATE_FILE','FIX_USER','CREATE_DIR','DELETE','MOVE','FIX_DIR','FIX_FILE','CHMOD'),
|
||||
parameters longtext default NULL,
|
||||
creation timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
begin timestamp,
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
|
||||
DELETE FROM default_subdomains WHERE domain_type="WEBMAIL";
|
||||
|
||||
ALTER TABLE actions CHANGE `type` ̀ type` ENUM('CREATE_FILE','FIX_USER','CREATE_DIR','DELETE','MOVE','FIX_DIR','FIX_FILE','CHMOD') DEFAULT NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue