|
|
|
@ -722,4 +722,22 @@ CREATE TABLE IF NOT EXISTS DM_GEOFENCE_EVENT_MAPPING (
|
|
|
|
|
DM_DEVICE_EVENT (ID) ON DELETE NO ACTION ON UPDATE NO ACTION
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
-- END OF DM_GEOFENCE_GROUP_MAPPING TABLE--
|
|
|
|
|
-- END OF DM_GEOFENCE_GROUP_MAPPING TABLE--
|
|
|
|
|
|
|
|
|
|
-- DM_GROUP_EVENT_ASSIGNMENT_TASK TABLE--
|
|
|
|
|
|
|
|
|
|
CREATE TABLE IF NOT EXISTS DM_EVENT_OPERATION_ASSIGNMENT_TASK (
|
|
|
|
|
ID INT NOT NULL AUTO_INCREMENT,
|
|
|
|
|
DEVICE_ID INT DEFAULT NULL,
|
|
|
|
|
GROUP_ID INT DEFAULT NULL,
|
|
|
|
|
OPERATION_CODE VARCHAR(100) NOT NULL,
|
|
|
|
|
EVENT_SOURCE VARCHAR(250) NOT NULL,
|
|
|
|
|
EVENT_META_ID INT DEFAULT NULL,
|
|
|
|
|
STATUS VARCHAR(100) NOT NULL,
|
|
|
|
|
TENANT_ID INT NOT NULL,
|
|
|
|
|
CREATED_TIMESTAMP TIMESTAMP NOT NULL,
|
|
|
|
|
COMPLETED_TIMESTAMP TIMESTAMP DEFAULT NULL,
|
|
|
|
|
PRIMARY KEY (ID)
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
-- END OF DM_GROUP_EVENT_ASSIGNMENT_TASK TABLE--
|