La table action est la bienvenue dans les upgrades

This commit is contained in:
Alan Garcia 2013-05-17 16:05:39 +00:00
parent 5ed69531c7
commit 76e23d1aef
1 changed files with 13 additions and 0 deletions

View File

@ -27,3 +27,16 @@ CREATE TABLE IF NOT EXISTS `vm_history` (
KEY `date_end` (`date_end`),
KEY `uid` (`uid`)
) ENGINE=MyISAM COMMENT='VM Allocation requests';
CREATE TABLE IF NOT EXISTS `actions` (
id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
type enum ('CREATE_FILE','CREATE_DIR','DELETE','MOVE','FIXDIR','FIXFILE'),
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';