From fab339e4cf9a058ba33537f70b0d4e10b4359f72 Mon Sep 17 00:00:00 2001 From: Rajani Karuturi Date: Fri, 30 May 2014 11:47:17 +0530 Subject: [PATCH] FIXED CLOUDSTACK-6808 Need to add Database Information to Alter table statements in a commit to schema-430to440.sql --- setup/db/db/schema-430to440.sql | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/setup/db/db/schema-430to440.sql b/setup/db/db/schema-430to440.sql index 85eb17308a8..cb042e43f8e 100644 --- a/setup/db/db/schema-430to440.sql +++ b/setup/db/db/schema-430to440.sql @@ -1696,11 +1696,11 @@ INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervis INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, created, is_user_defined) VALUES (UUID(),'KVM', 'default', 'Other PV', 139, now(), 0); INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, created, is_user_defined) VALUES (UUID(),'KVM', 'default', 'Other PV', 140, now(), 0); -alter table user_ip_address add column removed datetime DEFAULT NULL COMMENT 'date removed'; -alter table user_ip_address add column created datetime NULL COMMENT 'date created'; +alter table `cloud`.`user_ip_address` add column removed datetime DEFAULT NULL COMMENT 'date removed'; +alter table `cloud`.`user_ip_address` add column created datetime NULL COMMENT 'date created'; -alter table vlan add column removed datetime DEFAULT NULL COMMENT 'date removed'; -alter table vlan add column created datetime NULL COMMENT 'date created'; +alter table `cloud`.`vlan` add column removed datetime DEFAULT NULL COMMENT 'date removed'; +alter table `cloud`.`vlan` add column created datetime NULL COMMENT 'date created'; -alter table user_ip_address drop key public_ip_address; -alter table user_ip_address add UNIQUE KEY public_ip_address (public_ip_address,source_network_id, removed); \ No newline at end of file +alter table `cloud`.`user_ip_address` drop key public_ip_address; +alter table `cloud`.`user_ip_address` add UNIQUE KEY public_ip_address (public_ip_address,source_network_id, removed); \ No newline at end of file