Skip to content

Commit 1ab5c7f

Browse files
winterhazeldhslove
authored andcommitted
Fix Usage job not executing successfully (apache#10244)
* Add `api_key_access` to Usage account table * use the procedure in cloud_usage instead
1 parent 62d4d47 commit 1ab5c7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +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`.`IDEMPOTENT_ADD_COLUMN`('cloud_usage.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" ');
2626

2727
-- Modify index for mshost_peer
2828
DELETE FROM `cloud`.`mshost_peer`;

0 commit comments

Comments
 (0)