Skip to content

Commit e376b7d

Browse files
committed
add sql change
1 parent 9dd0695 commit e376b7d

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-42200to42210.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,6 @@ UPDATE `cloud`.`alert` SET type = 34 WHERE name = 'ALERT.VR.PRIVATE.IFACE.MTU';
3333

3434
-- Update configuration 'kvm.ssh.to.agent' description and is_dynamic fields
3535
UPDATE `cloud`.`configuration` SET description = 'True if the management server will restart the agent service via SSH into the KVM hosts after or during maintenance operations', is_dynamic = 1 WHERE name = 'kvm.ssh.to.agent';
36+
37+
-- Set default value for vm_template.type to "USER" and update existing records with NULL type to "USER"
38+
UPDATE `cloud`.`vm_template` SET `type` = 'USER' WHERE `type` IS NULL;

0 commit comments

Comments
 (0)