From 590faa4708e6480ed52cc236a330c43bde54e535 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Sat, 7 Oct 2017 19:02:22 +0200 Subject: [PATCH] =?UTF-8?q?[fix]=C2=A0permission=20not=20working,=20missin?= =?UTF-8?q?g=20CHMOD=20in=20enum=20of=20actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install/mysql.sql | 2 +- install/upgrades/3.4.9.sql | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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; +