adding action table to mysql.sql

This commit is contained in:
Steven Mondji-Lerider 2013-04-19 15:39:24 +00:00
parent de74fa75cf
commit cde57cbc86
1 changed files with 11 additions and 0 deletions

View File

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