forked from community/device-mgt-plugins
Merge branch 'master' of https://github.com/wso2/carbon-device-mgt-plugins into das-ext
commit
d3a769776b
@ -0,0 +1,8 @@
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `ANDROID_DEVICE`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS ANDROID_SENSE_DEVICE (
|
||||
ANDROID_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (ANDROID_DEVICE_ID) );
|
@ -0,0 +1,8 @@
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `ANDROID_DEVICE`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS ANDROID_SENSE_DEVICE (
|
||||
ANDROID_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (ANDROID_DEVICE_ID) );
|
@ -0,0 +1,8 @@
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `ANDROID_DEVICE`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS ANDROID_SENSE_DEVICE (
|
||||
ANDROID_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (ANDROID_DEVICE_ID));
|
@ -0,0 +1,8 @@
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table for `ARDUINO_DEVICE`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS ARDUINO_DEVICE (
|
||||
ARDUINO_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (ARDUINO_DEVICE_ID) );
|
@ -0,0 +1,8 @@
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table for `ARDUINO_DEVICE`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS ARDUINO_DEVICE (
|
||||
ARDUINO_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (ARDUINO_DEVICE_ID) );
|
@ -0,0 +1,8 @@
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table for `ARDUINO_DEVICE`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS ARDUINO_DEVICE (
|
||||
ARDUINO_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (ARDUINO_DEVICE_ID) );
|
@ -0,0 +1,8 @@
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `DIGITAL_DISPLAY_DEVICE`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS DIGITAL_DISPLAY_DEVICE (
|
||||
DIGITAL_DISPLAY_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (DIGITAL_DISPLAY_DEVICE_ID) );
|
@ -0,0 +1,8 @@
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `DIGITAL_DISPLAY_DEVICE`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS DIGITAL_DISPLAY_DEVICE (
|
||||
DIGITAL_DISPLAY_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (DIGITAL_DISPLAY_DEVICE_ID) );
|
@ -0,0 +1,8 @@
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `DIGITAL_DISPLAY_DEVICE`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS DIGITAL_DISPLAY_DEVICE (
|
||||
DIGITAL_DISPLAY_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (DIGITAL_DISPLAY_DEVICE_ID) );
|
@ -0,0 +1,9 @@
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `DRONE_DEVICE`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS DRONE_DEVICE (
|
||||
DRONE_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (DRONE_DEVICE_ID) );
|
||||
|
@ -0,0 +1,9 @@
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `DRONE_DEVICE`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS DRONE_DEVICE (
|
||||
DRONE_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (DRONE_DEVICE_ID) );
|
||||
|
@ -0,0 +1,9 @@
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `DRONE_DEVICE`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS DRONE_DEVICE (
|
||||
DRONE_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (DRONE_DEVICE_ID) );
|
||||
|
@ -0,0 +1,9 @@
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `RASPBERRYPI_DEVICE`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS RASPBERRYPI_DEVICE (
|
||||
RASPBERRYPI_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (RASPBERRYPI_DEVICE_ID) );
|
||||
|
@ -0,0 +1,9 @@
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `RASPBERRYPI_DEVICE`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS RASPBERRYPI_DEVICE (
|
||||
RASPBERRYPI_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (RASPBERRYPI_DEVICE_ID) );
|
||||
|
@ -0,0 +1,9 @@
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `RASPBERRYPI_DEVICE`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS RASPBERRYPI_DEVICE (
|
||||
RASPBERRYPI_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (RASPBERRYPI_DEVICE_ID) );
|
||||
|
@ -0,0 +1,8 @@
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `FIREALARM_DEVICE`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS VIRTUAL_FIREALARM_DEVICE (
|
||||
VIRTUAL_FIREALARM_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (VIRTUAL_FIREALARM_DEVICE_ID) );
|
@ -0,0 +1,8 @@
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `FIREALARM_DEVICE`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS VIRTUAL_FIREALARM_DEVICE (
|
||||
VIRTUAL_FIREALARM_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (VIRTUAL_FIREALARM_DEVICE_ID) );
|
@ -0,0 +1,8 @@
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `FIREALARM_DEVICE`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS VIRTUAL_FIREALARM_DEVICE (
|
||||
VIRTUAL_FIREALARM_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (VIRTUAL_FIREALARM_DEVICE_ID) );
|
Loading…
Reference in new issue