You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2024/12/04 08:45:53 UTC
(cloudstack) 01/01: move sql code to the right file
This is an automated email from the ASF dual-hosted git repository.
dahn pushed a commit to branch pr9759-followup
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
commit 871bc59913916ba91f9b123870ff0b1177c7833d
Author: Daan Hoogland <da...@onecht.net>
AuthorDate: Wed Dec 4 09:45:23 2024 +0100
move sql code to the right file
---
engine/schema/src/main/resources/META-INF/db/schema-41900to41910.sql | 3 ---
engine/schema/src/main/resources/META-INF/db/schema-41910to41920.sql | 3 +++
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/engine/schema/src/main/resources/META-INF/db/schema-41900to41910.sql b/engine/schema/src/main/resources/META-INF/db/schema-41900to41910.sql
index 028c3f619db..0cb10f4a0ef 100644
--- a/engine/schema/src/main/resources/META-INF/db/schema-41900to41910.sql
+++ b/engine/schema/src/main/resources/META-INF/db/schema-41900to41910.sql
@@ -70,6 +70,3 @@ CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('cloud.user_data', 'removed', 'datetime COM
UPDATE `cloud`.`configuration` SET
`options` = 'FirstFitRouting,RandomAllocator,TestingAllocator,FirstFitAllocator,RecreateHostAllocator'
WHERE `name` = 'host.allocators.order';
-
--- Add last_id to the volumes table
-CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('volumes','last_id', 'bigint(20) unsigned DEFAULT NULL');
diff --git a/engine/schema/src/main/resources/META-INF/db/schema-41910to41920.sql b/engine/schema/src/main/resources/META-INF/db/schema-41910to41920.sql
index d4c23eee0ed..8dba6ff3d9e 100644
--- a/engine/schema/src/main/resources/META-INF/db/schema-41910to41920.sql
+++ b/engine/schema/src/main/resources/META-INF/db/schema-41910to41920.sql
@@ -18,3 +18,6 @@
--;
-- Schema upgrade from 4.19.1.0 to 4.19.2.0
--;
+
+-- Add last_id to the volumes table
+CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('volumes','last_id', 'bigint(20) unsigned DEFAULT NULL');