modified mysql scheme for vm_history
This commit is contained in:
parent
5991431b8a
commit
189bb53170
|
@ -721,12 +721,11 @@ CREATE TABLE IF NOT EXISTS `vm_history` (
|
|||
`ip` varchar(256) NOT NULL,
|
||||
`date_start` datetime NOT NULL,
|
||||
`date_end` datetime DEFAULT NULL,
|
||||
`login` varchar(256) NOT NULL,
|
||||
`uid` int(10) unsigned NOT NULL,
|
||||
`serialized_object` TEXT NOT NULL,
|
||||
`vm_id` int(10) unsigned NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `date_end` (`date_end`),
|
||||
KEY `login` (`login`)
|
||||
KEY `uid` (`uid`)
|
||||
) ENGINE=MyISAM COMMENT='VM Allocation requests';
|
||||
|
||||
|
||||
|
|
|
@ -19,12 +19,11 @@ ALTER TABLE `ftpusers` ADD `enabled` boolean NOT NULL DEFAULT TRUE ;
|
|||
CREATE TABLE IF NOT EXISTS `vm_history` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`ip` varchar(256) NOT NULL,
|
||||
`date_start` datetime NOT NULL,
|
||||
`date_start` datetime NOT NULL,
|
||||
`date_end` datetime DEFAULT NULL,
|
||||
`login` varchar(256) NOT NULL,
|
||||
`uid` int(10) unsigned NOT NULL,
|
||||
`serialized_object` TEXT NOT NULL,
|
||||
`vm_id` int(10) unsigned NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `date_end` (`date_end`),
|
||||
KEY `login` (`login`)
|
||||
KEY `uid` (`uid`)
|
||||
) ENGINE=MyISAM COMMENT='VM Allocation requests';
|
||||
|
|
Loading…
Reference in New Issue