mirror of https://github.com/apache/cloudstack.git
Fix Usage job not executing successfully (#10244)
* Add `api_key_access` to Usage account table * use the procedure in cloud_usage instead
This commit is contained in:
parent
717ce981d4
commit
4201a2dc11
|
|
@ -22,6 +22,7 @@
|
|||
-- Add column api_key_access to user and account tables
|
||||
CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('cloud.user', 'api_key_access', 'boolean DEFAULT NULL COMMENT "is api key access allowed for the user" AFTER `secret_key`');
|
||||
CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('cloud.account', 'api_key_access', 'boolean DEFAULT NULL COMMENT "is api key access allowed for the account" ');
|
||||
CALL `cloud_usage`.`IDEMPOTENT_ADD_COLUMN`('cloud_usage.account', 'api_key_access', 'boolean DEFAULT NULL COMMENT "is api key access allowed for the account" ');
|
||||
|
||||
-- Modify index for mshost_peer
|
||||
DELETE FROM `cloud`.`mshost_peer`;
|
||||
|
|
|
|||
Loading…
Reference in New Issue