forked from community/product-iots
parent
2b68b48f4c
commit
3b819cab1d
@ -0,0 +1,9 @@
|
|||||||
|
|
||||||
|
-- -----------------------------------------------------
|
||||||
|
-- Table `${deviceType}_DEVICE`
|
||||||
|
-- -----------------------------------------------------
|
||||||
|
CREATE TABLE IF NOT EXISTS ${deviceType}_DEVICE (
|
||||||
|
${deviceType}_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||||
|
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||||
|
PRIMARY KEY (${deviceType}_DEVICE_ID) );
|
||||||
|
|
@ -0,0 +1,9 @@
|
|||||||
|
|
||||||
|
-- -----------------------------------------------------
|
||||||
|
-- Table `${deviceType}_DEVICE`
|
||||||
|
-- -----------------------------------------------------
|
||||||
|
CREATE TABLE IF NOT EXISTS ${deviceType}_DEVICE (
|
||||||
|
${deviceType}_DEVICE_ID VARCHAR(45) NOT NULL ,
|
||||||
|
DEVICE_NAME VARCHAR(100) NULL DEFAULT NULL,
|
||||||
|
PRIMARY KEY (${deviceType}_DEVICE_ID) );
|
||||||
|
|
Loading…
Reference in new issue