iot metaconsole

This commit is contained in:
daniel 2020-05-27 09:18:21 +02:00 committed by Alejandro Fraguas
parent 7c4e4bb7e1
commit 65c733e1dd
4 changed files with 32 additions and 1 deletions

View File

@ -1,6 +1,15 @@
START TRANSACTION; START TRANSACTION;
INSERT INTO `ttipo_modulo` VALUES (38,'web_server_status_code_string',9,'Remote HTTP module to check server status code','mod_web_data.png'); INSERT INTO `ttipo_modulo` VALUES (38,'web_server_status_code_string',9,'Remote HTTP module to check server status code','mod_web_data.png');
ALTER TABLE trecon_task add column `rcmd_enabled` TINYINT(1) UNSIGNED DEFAULT 0 AFTER `wmi_enabled`; ALTER TABLE trecon_task add column `rcmd_enabled` TINYINT(1) UNSIGNED DEFAULT 0 AFTER `wmi_enabled`;
COMMIT; CREATE TABLE `tnode_relations` (
`id` int(10) unsigned NOT NULL auto_increment,
`gateway` VARCHAR(100) NOT NULL,
`imei` VARCHAR(100) NOT NULL,
`node_address` VARCHAR(60) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
COMMIT;

View File

@ -2723,4 +2723,15 @@ UPDATE twidget SET description='Show a visual console' WHERE class_name='MapsMad
UPDATE twidget SET description='Clock' WHERE class_name='ClockWidget'; UPDATE twidget SET description='Clock' WHERE class_name='ClockWidget';
UPDATE twidget SET description='Group status' WHERE class_name='SystemGroupStatusWidget'; UPDATE twidget SET description='Group status' WHERE class_name='SystemGroupStatusWidget';
-- ----------------------------------------------------------------------
-- Table `tnode_relations`
-- ----------------------------------------------------------------------
CREATE TABLE `tnode_relations` (
`id` int(10) unsigned NOT NULL auto_increment,
`gateway` VARCHAR(100) NOT NULL,
`imei` VARCHAR(100) NOT NULL,
`node_address` VARCHAR(60) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -3778,3 +3778,14 @@ CREATE TABLE `tremote_command_target` (
FOREIGN KEY (`rcmd_id`) REFERENCES `tremote_command`(`id`) FOREIGN KEY (`rcmd_id`) REFERENCES `tremote_command`(`id`)
ON UPDATE CASCADE ON DELETE CASCADE ON UPDATE CASCADE ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------------------------------------------------
-- Table `tnode_relations`
-- ----------------------------------------------------------------------
CREATE TABLE `tnode_relations` (
`id` int(10) unsigned NOT NULL auto_increment,
`gateway` VARCHAR(100) NOT NULL,
`imei` VARCHAR(100) NOT NULL,
`node_address` VARCHAR(60) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;