From 6773157576a3f36640befa903939042626830e4a Mon Sep 17 00:00:00 2001 From: ayyoob Date: Thu, 26 May 2016 17:10:44 +0530 Subject: [PATCH] fixed https://wso2.org/jira/browse/IOTS-177 --- .../src/main/resources/dbscripts/oracle.sql | 2 +- .../src/main/resources/dbscripts/oracle.sql | 2 +- .../src/main/resources/dbscripts/oracle.sql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/features/iot-plugins-feature/arduino-plugin-feature/org.wso2.carbon.device.mgt.iot.arduino.feature/src/main/resources/dbscripts/oracle.sql b/features/iot-plugins-feature/arduino-plugin-feature/org.wso2.carbon.device.mgt.iot.arduino.feature/src/main/resources/dbscripts/oracle.sql index e966d462af..27139c53f4 100644 --- a/features/iot-plugins-feature/arduino-plugin-feature/org.wso2.carbon.device.mgt.iot.arduino.feature/src/main/resources/dbscripts/oracle.sql +++ b/features/iot-plugins-feature/arduino-plugin-feature/org.wso2.carbon.device.mgt.iot.arduino.feature/src/main/resources/dbscripts/oracle.sql @@ -2,7 +2,7 @@ -- ----------------------------------------------------- -- Table for `ARDUINO_DEVICE` -- ----------------------------------------------------- -CREATE TABLE IF NOT EXISTS ARDUINO_DEVICE ( +CREATE TABLE ARDUINO_DEVICE ( ARDUINO_DEVICE_ID VARCHAR(45) NOT NULL , DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL, PRIMARY KEY (ARDUINO_DEVICE_ID) ); diff --git a/features/iot-plugins-feature/raspberrypi-plugin-feature/org.wso2.carbon.device.mgt.iot.raspberrypi.feature/src/main/resources/dbscripts/oracle.sql b/features/iot-plugins-feature/raspberrypi-plugin-feature/org.wso2.carbon.device.mgt.iot.raspberrypi.feature/src/main/resources/dbscripts/oracle.sql index a944f4cb2e..b72ecb564a 100644 --- a/features/iot-plugins-feature/raspberrypi-plugin-feature/org.wso2.carbon.device.mgt.iot.raspberrypi.feature/src/main/resources/dbscripts/oracle.sql +++ b/features/iot-plugins-feature/raspberrypi-plugin-feature/org.wso2.carbon.device.mgt.iot.raspberrypi.feature/src/main/resources/dbscripts/oracle.sql @@ -2,7 +2,7 @@ -- ----------------------------------------------------- -- Table `RASPBERRYPI_DEVICE` -- ----------------------------------------------------- -CREATE TABLE IF NOT EXISTS RASPBERRYPI_DEVICE ( +CREATE TABLE RASPBERRYPI_DEVICE ( RASPBERRYPI_DEVICE_ID VARCHAR(45) NOT NULL , DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL, PRIMARY KEY (RASPBERRYPI_DEVICE_ID) ); diff --git a/features/iot-plugins-feature/virtual-fire-alarm-plugin-feature/org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature/src/main/resources/dbscripts/oracle.sql b/features/iot-plugins-feature/virtual-fire-alarm-plugin-feature/org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature/src/main/resources/dbscripts/oracle.sql index 41b7e48480..5583d16941 100644 --- a/features/iot-plugins-feature/virtual-fire-alarm-plugin-feature/org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature/src/main/resources/dbscripts/oracle.sql +++ b/features/iot-plugins-feature/virtual-fire-alarm-plugin-feature/org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature/src/main/resources/dbscripts/oracle.sql @@ -2,7 +2,7 @@ -- ----------------------------------------------------- -- Table `FIREALARM_DEVICE` -- ----------------------------------------------------- -CREATE TABLE IF NOT EXISTS VIRTUAL_FIREALARM_DEVICE ( +CREATE TABLE VIRTUAL_FIREALARM_DEVICE ( VIRTUAL_FIREALARM_DEVICE_ID VARCHAR(45) NOT NULL , DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL, PRIMARY KEY (VIRTUAL_FIREALARM_DEVICE_ID) );