Skip to content

Commit 4201a2d

Browse files
authored
Fix Usage job not executing successfully (#10244)
* Add `api_key_access` to Usage account table * use the procedure in cloud_usage instead
1 parent 717ce98 commit 4201a2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

engine/schema/src/main/resources/META-INF/db/schema-42000to42010.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
-- Add column api_key_access to user and account tables
2323
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`');
2424
CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('cloud.account', 'api_key_access', 'boolean DEFAULT NULL COMMENT "is api key access allowed for the account" ');
25+
CALL `cloud_usage`.`IDEMPOTENT_ADD_COLUMN`('cloud_usage.account', 'api_key_access', 'boolean DEFAULT NULL COMMENT "is api key access allowed for the account" ');
2526

2627
-- Modify index for mshost_peer
2728
DELETE FROM `cloud`.`mshost_peer`;

0 commit comments

Comments
 (0)