diff --git a/install/mysql.sql b/install/mysql.sql index d528e265..7c4d363d 100644 --- a/install/mysql.sql +++ b/install/mysql.sql @@ -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, diff --git a/install/upgrades/3.4.9.sql b/install/upgrades/3.4.9.sql index 64189d63..09629db2 100644 --- a/install/upgrades/3.4.9.sql +++ b/install/upgrades/3.4.9.sql @@ -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; +