From ec6b28360e7c5ec45b1798408a0dd062e0d557bd Mon Sep 17 00:00:00 2001 From: Amalka Subasinghe Date: Thu, 12 Aug 2021 17:14:41 +0530 Subject: [PATCH] fixed shared db altering issue --- iot-core/pom.xml | 11 +++++------ iot-core/src/core/scripts/alter-h2-db.sql | 1 + pom.xml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 iot-core/src/core/scripts/alter-h2-db.sql diff --git a/iot-core/pom.xml b/iot-core/pom.xml index 4486871..a1dc0c7 100644 --- a/iot-core/pom.xml +++ b/iot-core/pom.xml @@ -33,8 +33,8 @@ - com.h2database.wso2 - h2-database-engine + org.wso2.orbit.com.h2database + h2 org.wso2.carbon.devicemgt @@ -117,19 +117,18 @@ - - + - + - + diff --git a/iot-core/src/core/scripts/alter-h2-db.sql b/iot-core/src/core/scripts/alter-h2-db.sql new file mode 100644 index 0000000..c9ca326 --- /dev/null +++ b/iot-core/src/core/scripts/alter-h2-db.sql @@ -0,0 +1 @@ +ALTER TABLE REG_PROPERTY ALTER COLUMN REG_VALUE VARCHAR(10000); \ No newline at end of file diff --git a/pom.xml b/pom.xml index f504547..5729fd8 100644 --- a/pom.xml +++ b/pom.xml @@ -91,8 +91,8 @@ - com.h2database.wso2 - h2-database-engine + org.wso2.orbit.com.h2database + h2 ${orbit.h2.engine.version} @@ -119,7 +119,7 @@ 5.1.2 - 1.2.140.wso2v3 + 1.4.199.wso2v1 6.0.0-SNAPSHOT