|
|
@ -2,7 +2,7 @@
|
|
|
|
-- Table `IOS_DEVICE`
|
|
|
|
-- Table `IOS_DEVICE`
|
|
|
|
-- -----------------------------------------------------
|
|
|
|
-- -----------------------------------------------------
|
|
|
|
CREATE TABLE IF NOT EXISTS `IOS_DEVICE` (
|
|
|
|
CREATE TABLE IF NOT EXISTS `IOS_DEVICE` (
|
|
|
|
`DEVICE_ID` VARCHAR(45) NOT NULL,
|
|
|
|
`MOBILE_DEVICE_ID` VARCHAR(45) NOT NULL,
|
|
|
|
`APNS_PUSH_TOKEN` VARCHAR(100) NULL DEFAULT NULL,
|
|
|
|
`APNS_PUSH_TOKEN` VARCHAR(100) NULL DEFAULT NULL,
|
|
|
|
`MAGIC_TOKEN` VARCHAR(100) NULL DEFAULT NULL,
|
|
|
|
`MAGIC_TOKEN` VARCHAR(100) NULL DEFAULT NULL,
|
|
|
|
`MDM_TOKEN` VARCHAR(100) NULL DEFAULT NULL,
|
|
|
|
`MDM_TOKEN` VARCHAR(100) NULL DEFAULT NULL,
|
|
|
@ -18,7 +18,7 @@ CREATE TABLE IF NOT EXISTS `IOS_DEVICE` (
|
|
|
|
`ICCID` VARCHAR(45) NULL DEFAULT NULL,
|
|
|
|
`ICCID` 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,
|
|
|
|
PRIMARY KEY (`DEVICE_ID`)
|
|
|
|
PRIMARY KEY (`MOBILE_DEVICE_ID`)
|
|
|
|
) ENGINE = InnoDB;
|
|
|
|
) ENGINE = InnoDB;
|
|
|
|
|
|
|
|
|
|
|
|
-- -----------------------------------------------------
|
|
|
|
-- -----------------------------------------------------
|
|
|
|