From cde57cbc86662ff5a3f1182ec1631022ca034139 Mon Sep 17 00:00:00 2001 From: Steven Mondji-Lerider Date: Fri, 19 Apr 2013 15:39:24 +0000 Subject: [PATCH] adding action table to mysql.sql --- install/mysql.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/install/mysql.sql b/install/mysql.sql index 88d8b64e..656909f8 100644 --- a/install/mysql.sql +++ b/install/mysql.sql @@ -715,3 +715,14 @@ CREATE TABLE IF NOT EXISTS `db_servers` ( PRIMARY KEY (`id`) ) ENGINE=MyISAM COMMENT='List of the databases servers'; +CREATE TABLE IF NOT EXISTS `actions` ( + id bigint(20) unsigned NOT NULL AUTO_INCREMENT, + type enum ('CREATE_FILE','CREATE_DIR','DELETE','MOVE'), + parameters longtext default NULL, + creation timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + begin timestamp, + end timestamp, + user varchar(255) default NULL, + status int(8) unsigned default NULL, + PRIMARY KEY ( `id` ) +) ENGINE=MyISAM COMMENT = 'generic actions';