From e02c38246f57f5a22016f05afc7c5b97bab09024 Mon Sep 17 00:00:00 2001 From: Anthony Xu Date: Mon, 13 Oct 2014 11:48:46 -0700 Subject: [PATCH] change vlan_id in vlan table to format "vlan://" --- setup/db/db/schema-441to450.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/db/db/schema-441to450.sql b/setup/db/db/schema-441to450.sql index bdfb5b9fe61..3c0094866fd 100644 --- a/setup/db/db/schema-441to450.sql +++ b/setup/db/db/schema-441to450.sql @@ -747,6 +747,8 @@ INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervis INSERT IGNORE INTO `cloud`.`hypervisor_capabilities`(uuid, hypervisor_type, hypervisor_version, max_guests_limit, security_group_enabled, max_data_volumes_limit, storage_motion_supported) VALUES (UUID(), 'XenServer', '6.5.0', 500, 1, 13, 1); +update vlan set vlan_id=concat('vlan://', vlan_id) where vlan_type = "VirtualNetwork" and vlan_id not like "vlan://%"; + CREATE TABLE `cloud`.`baremetal_rct` ( `id` bigint unsigned UNIQUE AUTO_INCREMENT, `uuid` varchar(40) UNIQUE NOT NULL,