mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
CLOUDSTACK-1302: Allow cache_mode to be NULL in the database
Not allowing this field to be NULL broke master due to the default data which gets loaded into the database during initial startup of the management server. During generation of the XML for the VM it will however default to 'none' if NULL is passed
This commit is contained in:
parent
de6bf7470c
commit
308b7a5c37
@ -22,7 +22,7 @@
|
||||
-- Disable foreign key checking
|
||||
SET foreign_key_checks = 0;
|
||||
|
||||
ALTER TABLE `cloud`.`disk_offering` ADD `cache_mode` VARCHAR( 16 ) NOT NULL DEFAULT 'none' COMMENT 'The disk cache mode to use for disks created with this offering';
|
||||
ALTER TABLE `cloud`.`disk_offering` ADD `cache_mode` VARCHAR( 16 ) DEFAULT 'none' COMMENT 'The disk cache mode to use for disks created with this offering';
|
||||
|
||||
DROP VIEW IF EXISTS `cloud`.`disk_offering_view`;
|
||||
CREATE VIEW `cloud`.`disk_offering_view` AS
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user