teltonika
This commit is contained in:
@ -41,7 +41,7 @@ async function job() {
|
||||
id bigint NOT NULL AUTO_INCREMENT,
|
||||
original_hex text,
|
||||
protocol enum('gt06','tk119','smartphone') DEFAULT NULL,
|
||||
action enum('login','heartbeat','location','alarm','other') DEFAULT NULL,
|
||||
action enum('login','heartbeat','location','alarm','other','teltonika8e') DEFAULT NULL,
|
||||
device_id varchar(16) DEFAULT NULL,
|
||||
latitude double DEFAULT NULL,
|
||||
longitude double DEFAULT NULL,
|
||||
@ -66,6 +66,8 @@ async function job() {
|
||||
sum_milleage double NOT NULL DEFAULT '0' COMMENT 'in km. summary device milleage. calculated based on this device',
|
||||
vhc_milleage double NOT NULL DEFAULT '0' COMMENT 'in km. summary vhc milleage. calculated based on vhc, every change vhc this will get last milleage on that vhc',
|
||||
drv_milleage double NOT NULL DEFAULT '0' COMMENT 'in km. summary drv milleage. calculated based on drv, every change drv this will get last milleage on that drv',
|
||||
fuel_curr INT UNSIGNED DEFAULT 0,
|
||||
fuel_count INT UNSIGNED DEFAULT 0,
|
||||
vhc_id int NOT NULL DEFAULT '0',
|
||||
drv_id int NOT NULL DEFAULT '0',
|
||||
source int NOT NULL DEFAULT '1' COMMENT '1=>gps_tracker, 2=>smartphone',
|
||||
|
||||
Reference in New Issue
Block a user