mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-560 : Add default zone column to account table in cloud_usage table in fresh install and upgrade
This commit is contained in:
parent
5405242674
commit
199806c1be
@ -136,6 +136,7 @@ CREATE TABLE `cloud_usage`.`account` (
|
|||||||
`removed` datetime COMMENT 'date removed',
|
`removed` datetime COMMENT 'date removed',
|
||||||
`cleanup_needed` tinyint(1) NOT NULL default '0',
|
`cleanup_needed` tinyint(1) NOT NULL default '0',
|
||||||
`network_domain` varchar(100) COMMENT 'Network domain name of the Vms of the account',
|
`network_domain` varchar(100) COMMENT 'Network domain name of the Vms of the account',
|
||||||
|
`default_zone_id` bigint unsigned,
|
||||||
CONSTRAINT `uc_account__uuid` UNIQUE (`uuid`),
|
CONSTRAINT `uc_account__uuid` UNIQUE (`uuid`),
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|||||||
@ -477,3 +477,4 @@ INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'manag
|
|||||||
UPDATE `cloud`.`configuration` set description ='Uuid of the service offering used by console proxy; if NULL - system offering will be used' where name ='consoleproxy.service.offering';
|
UPDATE `cloud`.`configuration` set description ='Uuid of the service offering used by console proxy; if NULL - system offering will be used' where name ='consoleproxy.service.offering';
|
||||||
|
|
||||||
UPDATE `cloud`.`user` SET PASSWORD=RAND() WHERE id=1;
|
UPDATE `cloud`.`user` SET PASSWORD=RAND() WHERE id=1;
|
||||||
|
ALTER TABLE `cloud_usage`.`account` ADD COLUMN `default_zone_id` bigint unsigned;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user