|
|
@ -3,7 +3,8 @@
|
|
|
|
-- -----------------------------------------------------
|
|
|
|
-- -----------------------------------------------------
|
|
|
|
CREATE TABLE IF NOT EXISTS `WIN_DEVICE` (
|
|
|
|
CREATE TABLE IF NOT EXISTS `WIN_DEVICE` (
|
|
|
|
`DEVICE_ID` VARCHAR(45) NOT NULL,
|
|
|
|
`DEVICE_ID` VARCHAR(45) NOT NULL,
|
|
|
|
`PUSH_TOKEN` VARCHAR(45) NULL DEFAULT NULL,
|
|
|
|
`CHANNEL_URI` VARCHAR(100) NULL DEFAULT NULL,
|
|
|
|
|
|
|
|
`DEVICE_INFO` TEXT NULL DEFAULT NULL,
|
|
|
|
`IMEI` VARCHAR(45) NULL DEFAULT NULL,
|
|
|
|
`IMEI` VARCHAR(45) NULL DEFAULT NULL,
|
|
|
|
`IMSI` VARCHAR(45) NULL DEFAULT NULL,
|
|
|
|
`IMSI` VARCHAR(45) NULL DEFAULT NULL,
|
|
|
|
`OS_VERSION` VARCHAR(45) NULL DEFAULT NULL,
|
|
|
|
`OS_VERSION` VARCHAR(45) NULL DEFAULT NULL,
|
|
|
@ -11,10 +12,9 @@ CREATE TABLE IF NOT EXISTS `WIN_DEVICE` (
|
|
|
|
`VENDOR` VARCHAR(45) NULL DEFAULT NULL,
|
|
|
|
`VENDOR` VARCHAR(45) NULL DEFAULT NULL,
|
|
|
|
`LATITUDE` VARCHAR(45) NULL DEFAULT NULL,
|
|
|
|
`LATITUDE` VARCHAR(45) NULL DEFAULT NULL,
|
|
|
|
`LONGITUDE` VARCHAR(45) NULL DEFAULT NULL,
|
|
|
|
`LONGITUDE` VARCHAR(45) NULL DEFAULT NULL,
|
|
|
|
`CHALLENGE` VARCHAR(45) NULL DEFAULT NULL,
|
|
|
|
|
|
|
|
`TOKEN` VARCHAR(50) NULL DEFAULT NULL,
|
|
|
|
|
|
|
|
`UNLOCK_TOKEN` VARCHAR(2000) NULL DEFAULT NULL,
|
|
|
|
|
|
|
|
`SERIAL` VARCHAR(45) NULL DEFAULT NULL,
|
|
|
|
`SERIAL` VARCHAR(45) NULL DEFAULT NULL,
|
|
|
|
|
|
|
|
`MAC_ADDRESS` VARCHAR(45) NULL DEFAULT NULL,
|
|
|
|
|
|
|
|
`DEVICE_NAME` VARCHAR(100) NULL DEFAULT NULL,
|
|
|
|
PRIMARY KEY (`DEVICE_ID`))
|
|
|
|
PRIMARY KEY (`DEVICE_ID`))
|
|
|
|
ENGINE = InnoDB;
|
|
|
|
ENGINE = InnoDB;
|
|
|
|
|
|
|
|
|
|
|
|