|
|
|
@ -752,9 +752,10 @@ CREATE TABLE IF NOT EXISTS DM_GEOFENCE_EVENT_MAPPING (
|
|
|
|
|
-- DM_EXT_GROUP_MAPPING TABLE--
|
|
|
|
|
CREATE TABLE IF NOT EXISTS DM_EXT_GROUP_MAPPING (
|
|
|
|
|
ID INT NOT NULL AUTO_INCREMENT,
|
|
|
|
|
TRACCAR_GROUP_ID INT NOT NULL,
|
|
|
|
|
TRACCAR_GROUP_ID INT DEFAULT 0,
|
|
|
|
|
GROUP_ID INT NOT NULL,
|
|
|
|
|
TENANT_ID INT NOT NULL,
|
|
|
|
|
STATUS INT DEFAULT 0,
|
|
|
|
|
PRIMARY KEY (ID)
|
|
|
|
|
);
|
|
|
|
|
-- END OF DM_EXT_GROUP_MAPPING TABLE--
|
|
|
|
@ -762,9 +763,10 @@ CREATE TABLE IF NOT EXISTS DM_EXT_GROUP_MAPPING (
|
|
|
|
|
-- END OF DM_EXT_DEVICE_MAPPING TABLE--
|
|
|
|
|
CREATE TABLE IF NOT EXISTS DM_EXT_DEVICE_MAPPING (
|
|
|
|
|
ID INT NOT NULL AUTO_INCREMENT,
|
|
|
|
|
TRACCAR_DEVICE_ID INT NOT NULL,
|
|
|
|
|
TRACCAR_DEVICE_ID INT DEFAULT 0,
|
|
|
|
|
DEVICE_ID INT NOT NULL,
|
|
|
|
|
TENANT_ID INT NOT NULL,
|
|
|
|
|
STATUS INT DEFAULT 0,
|
|
|
|
|
PRIMARY KEY (ID)
|
|
|
|
|
);
|
|
|
|
|
-- END OF DM_EXT_DEVICE_MAPPING TABLE--
|
|
|
|
|