FIXED CLOUDSTACK-6808 Need to add Database Information to Alter table statements in a commit to schema-430to440.sql

This commit is contained in:
Rajani Karuturi 2014-05-30 11:47:17 +05:30 committed by Daan Hoogland
parent 3b642c7578
commit fab339e4cf
1 changed files with 6 additions and 6 deletions

View File

@ -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);
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);