35 lines
1.1 KiB
SQL
35 lines
1.1 KiB
SQL
/*
|
|
Navicat Premium Data Transfer
|
|
|
|
Source Server : vitual-box-mysql-5.1.51
|
|
Source Server Type : MySQL
|
|
Source Server Version : 50151 (5.1.51-log)
|
|
Source Host : 192.168.4.254:3306
|
|
Source Schema : hjems
|
|
|
|
Target Server Type : MySQL
|
|
Target Server Version : 50151 (5.1.51-log)
|
|
File Encoding : 65001
|
|
|
|
Date: 29/05/2024 17:31:44
|
|
*/
|
|
|
|
SET NAMES utf8;
|
|
SET FOREIGN_KEY_CHECKS = 0;
|
|
|
|
-- ----------------------------
|
|
-- Table structure for tbl_data
|
|
-- ----------------------------
|
|
DROP TABLE IF EXISTS `tbl_data`;
|
|
CREATE TABLE `tbl_data` (
|
|
`data_timestamp` varchar(25) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0000-00-00 00:00:00.000',
|
|
`data_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
|
`FsuCode` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
|
`data_content` blob NULL,
|
|
`topic` tinyint(4) NULL DEFAULT 0,
|
|
`device_id` decimal(10, 2) NULL DEFAULT NULL,
|
|
PRIMARY KEY (`data_timestamp`) USING BTREE
|
|
) ENGINE = MyISAM CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|