fixed everyting to upgrade from 2.1.7 to 2.2.2

This commit is contained in:
Alex Huang 2011-03-17 16:33:11 -07:00
parent 10077be555
commit f12f7da0ba
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,6 @@ CREATE TABLE `cloud`.`op_it_work` (
`created_at` bigint unsigned NOT NULL COMMENT 'when was this work detail created',
`thread` varchar(255) NOT NULL COMMENT 'thread name',
`type` char(32) NOT NULL COMMENT 'type of work',
`vm_type` char(32) NOT NULL COMMENT 'type of vm',
`step` char(32) NOT NULL COMMENT 'state',
`updated_at` bigint unsigned NOT NULL COMMENT 'time it was taken over',
`instance_id` bigint unsigned NOT NULL COMMENT 'vm instance',
@ -204,6 +203,7 @@ CREATE TABLE `cloud`.`firewall_rules` (
`domain_id` bigint unsigned NOT NULL COMMENT 'domain id',
`network_id` bigint unsigned NOT NULL COMMENT 'network id',
`xid` char(40) NOT NULL COMMENT 'external id',
`is_static_nat` int(1) unsigned NOT NULL DEFAULT 0 COMMENT '1 if firewall rule is one to one nat rule',
`created` datetime COMMENT 'Date created',
PRIMARY KEY (`id`),
CONSTRAINT `fk_firewall_rules__ip_address_id` FOREIGN KEY(`ip_address_id`) REFERENCES `user_ip_address`(`id`),