mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7624 The value field of the configuration table is not big enough for some values
(cherry picked from commit 9eb86560c9)
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
This commit is contained in:
parent
70efe1507c
commit
fe325ab576
|
|
@ -43,10 +43,10 @@ public class ConfigurationVO implements Configuration {
|
|||
@Column(name = "name")
|
||||
private String name;
|
||||
|
||||
@Column(name = "value", length = 4095)
|
||||
@Column(name = "value", length = 8191)
|
||||
private String value;
|
||||
|
||||
@Column(name = "default_value", length = 4095)
|
||||
@Column(name = "default_value", length = 8191)
|
||||
private String defaultValue;
|
||||
|
||||
@Column(name = "description", length = 1024)
|
||||
|
|
|
|||
|
|
@ -178,3 +178,6 @@ 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(),'Xenserver', '6.2.5', 'CentOS 6 (64-bit)', 228, 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(),'Xenserver', '6.2.5', 'Windows 8 (64-bit)', 229, 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(),'Xenserver', '6.2.5', 'Windows Server 2012 (64-bit)', 168, now(), 0);
|
||||
|
||||
-- Fix CLOUDSTACK-7624
|
||||
ALTER TABLE `cloud`.`configuration` MODIFY default_value varchar(8191), MODIFY value varchar(8191);
|
||||
|
|
|
|||
Loading…
Reference in New Issue