Skip to content

Commit 5c90596

Browse files
committed
engine/schema: remove user vm details for guest CPU mode/model
1 parent 7f0b828 commit 5c90596

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
-- Schema upgrade from 4.20.0.0 to 4.20.1.0
2020
--;
2121

22+
-- Delete user vm details for guest CPU mode/model which are root admin only
23+
DELETE FROM `cloud`.`user_vm_details` WHERE `name` IN ('guest.cpu.mode','guest.cpu.model');
24+
2225
-- Add column api_key_access to user and account tables
2326
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`');
2427
CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('cloud.account', 'api_key_access', 'boolean DEFAULT NULL COMMENT "is api key access allowed for the account" ');

0 commit comments

Comments
 (0)