mirror of https://github.com/apache/cloudstack.git
FIXED CLOUDSTACK-6808 Need to add Database Information to Alter table statements in a commit to schema-430to440.sql
This commit is contained in:
parent
3b642c7578
commit
fab339e4cf
|
|
@ -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);
|
||||
Loading…
Reference in New Issue