This is an automated email from the ASF dual-hosted git repository.
sureshanaparti pushed a commit to branch 4.20
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.20 by this push:
new 53bc435bdb1 Fix create statement for safer upgrades (#11388)
53bc435bdb1 is described below
commit 53bc435bdb1410e1780a4942f40ca6d9833c2751
Author: Harikrishna <[email protected]>
AuthorDate: Mon Aug 4 18:11:47 2025 +0530
Fix create statement for safer upgrades (#11388)
---
engine/schema/src/main/resources/META-INF/db/schema-41910to42000.sql | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/engine/schema/src/main/resources/META-INF/db/schema-41910to42000.sql
b/engine/schema/src/main/resources/META-INF/db/schema-41910to42000.sql
index c36b71c2f25..eec4ac3f028 100644
--- a/engine/schema/src/main/resources/META-INF/db/schema-41910to42000.sql
+++ b/engine/schema/src/main/resources/META-INF/db/schema-41910to42000.sql
@@ -55,7 +55,7 @@ UPDATE `cloud`.`service_offering` SET ram_size = 512 WHERE
unique_name IN ("Clou
AND system_use = 1 AND
ram_size < 512;
-- NSX Plugin --
-CREATE TABLE `cloud`.`nsx_providers` (
+CREATE TABLE IF NOT EXISTS `cloud`.`nsx_providers` (
`id` bigint unsigned NOT NULL
auto_increment COMMENT 'id',
`uuid` varchar(40),
`zone_id` bigint unsigned NOT NULL
COMMENT 'Zone ID',