Removing the scripts to add host_tags table from 21 to 22 DBUpgrade script, since 2.1.7 already has the necessary table.

This commit is contained in:
prachi 2011-03-02 17:46:20 -08:00
parent a65dd9d9eb
commit 9ec4911285
1 changed files with 0 additions and 10 deletions

View File

@ -551,16 +551,6 @@ CREATE TABLE `cloud`.`storage_pool_work` (
UNIQUE (pool_id,vm_id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--CREATE TABLE `cloud`.`host_tags` (
-- `id` bigint unsigned NOT NULL auto_increment,
-- `host_id` bigint unsigned NOT NULL COMMENT 'host id',
-- `tag` varchar(255) NOT NULL,
-- PRIMARY KEY (`id`)
--) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--ALTER TABLE `cloud`.`host_tags` ADD CONSTRAINT `fk_host_tags__host_id` FOREIGN KEY `fk_host_tags__host_id`(`host_id`) REFERENCES `host`(`id`) ON DELETE CASCADE;
--ALTER TABLE `cloud`.`service_offering` ADD COLUMN `host_tag` varchar(255);
-- Insert stuff?;
INSERT INTO `cloud`.`sequence` (name, value) VALUES ('volume_seq', (SELECT max(id) + 1 or 200 from volumes));
INSERT INTO `cloud`.`sequence` (name, value) VALUES ('networks_seq', 200);