From 5ff566baf8f22052462f598887f139990c72bb50 Mon Sep 17 00:00:00 2001 From: Dileesha Rajapakse Date: Thu, 19 Nov 2015 11:15:26 +0530 Subject: [PATCH] Refactored Oracle DB scripts --- .../src/main/resources/dbscripts/plugins/android/oracle.sql | 2 +- .../src/main/resources/dbscripts/plugins/ios/oracle.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/android/oracle.sql b/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/android/oracle.sql index 8f00cd331..1331581e7 100644 --- a/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/android/oracle.sql +++ b/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/android/oracle.sql @@ -3,7 +3,7 @@ -- ----------------------------------------------------- CREATE TABLE AD_DEVICE ( DEVICE_ID VARCHAR(45) NOT NULL , - DEVICE_INFO VARCHAR(8000) DEFAULT NULL, + DEVICE_INFO VARCHAR(4000) DEFAULT NULL, GCM_TOKEN VARCHAR(1000) DEFAULT NULL, IMEI VARCHAR(45) DEFAULT NULL, IMSI VARCHAR(45) DEFAULT NULL, diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/ios/oracle.sql b/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/ios/oracle.sql index 315402e18..3ce0a8578 100644 --- a/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/ios/oracle.sql +++ b/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/ios/oracle.sql @@ -8,7 +8,7 @@ CREATE TABLE IOS_DEVICE ( MDM_TOKEN VARCHAR(100) DEFAULT NULL, UNLOCK_TOKEN VARCHAR(2000) DEFAULT NULL, CHALLENGE_TOKEN VARCHAR(45) DEFAULT NULL, - DEVICE_INFO VARCHAR(8000) DEFAULT NULL, + DEVICE_INFO VARCHAR(4000) DEFAULT NULL, SERIAL VARCHAR(45) DEFAULT NULL, PRODUCT VARCHAR(45) DEFAULT NULL, IMEI VARCHAR(45) DEFAULT NULL,