From 9341faf021b7fa80ba363aeacf2e8e657b39c6a3 Mon Sep 17 00:00:00 2001 From: "Dulitha Wijewantha (Chan)" Date: Wed, 6 Jul 2016 19:47:44 -0700 Subject: [PATCH] Fixed minor bug on db script for postgreSQL --- .../src/main/resources/dbscripts/plugins/ios/postgresql.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/mobile-plugins-feature/mobile-base-plugin-feature/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/ios/postgresql.sql b/features/mobile-plugins-feature/mobile-base-plugin-feature/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/ios/postgresql.sql index 1ada59fdc7..c03e68e4a7 100644 --- a/features/mobile-plugins-feature/mobile-base-plugin-feature/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/ios/postgresql.sql +++ b/features/mobile-plugins-feature/mobile-base-plugin-feature/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/dbscripts/plugins/ios/postgresql.sql @@ -2,11 +2,11 @@ -- Table IOS_FEATURE -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS IOS_FEATURE ( - ID SERIAL NOT NULL, + FEATURE_ID SERIAL NOT NULL, CODE VARCHAR(45) NOT NULL, NAME VARCHAR(100) NULL, DESCRIPTION VARCHAR(200) NULL, - PRIMARY KEY (ID) + PRIMARY KEY (FEATURE_ID) ); -- -----------------------------------------------------