[fix] permission not working, missing CHMOD in enum of actions

This commit is contained in:
Benjamin Sonntag 2017-10-07 19:02:22 +02:00
parent 79c3058e61
commit 590faa4708
2 changed files with 3 additions and 1 deletions

View File

@ -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,

View File

@ -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;