Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
room.sql 2.96 KB
Copy Edit Raw Blame History
Chenwj authored 2023-11-29 10:05 . 更新
/*
Navicat Premium Data Transfer
Source Server : localhost_3306
Source Server Type : MySQL
Source Server Version : 50731
Source Host : localhost:3306
Source Schema : room
Target Server Type : MySQL
Target Server Version : 50731
File Encoding : 65001
Date: 24/04/2023 09:45:35
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for log
-- ----------------------------
DROP TABLE IF EXISTS `log`;
CREATE TABLE `log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`person` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`temp` int(4) NULL DEFAULT NULL,
`temp_status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`is_wear` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of log
-- ----------------------------
INSERT INTO `log` VALUES (1, '01', 30, '正常', '已佩戴', '正常', '2023-04-17 15:14:03');
INSERT INTO `log` VALUES (2, '01', 36, '异常', '未佩戴', '异常', '2023-04-21 14:58:59');
INSERT INTO `log` VALUES (3, '01', 36, '异常', '未佩戴', '异常', '2023-04-20 23:15:17');
INSERT INTO `log` VALUES (4, '01', 36, '异常', '未佩戴', '异常', '2023-04-20 23:18:58');
INSERT INTO `log` VALUES (5, '01', 36, '异常', '未佩戴', '异常', '2023-04-20 23:19:18');
INSERT INTO `log` VALUES (6, '01', 36, '异常', '未佩戴', '异常', '2023-04-21 16:58:17');
INSERT INTO `log` VALUES (7, '01', 36, '正常', '未佩戴', '异常', '2023-04-21 23:58:38');
INSERT INTO `log` VALUES (8, '01', 36, '异常', '已佩戴', '异常', '2023-04-21 23:58:45');
INSERT INTO `log` VALUES (9, '01', 36, '正常', '未佩戴', '异常', '2023-04-21 23:59:53');
INSERT INTO `log` VALUES (10, '01', 36, '异常', '已佩戴', '正常', '2023-04-22 00:00:01');
-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`login_id` int(11) NULL DEFAULT NULL,
`user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of user
-- ----------------------------
INSERT INTO `user` VALUES (1, 1, 'Wang', '12345');
INSERT INTO `user` VALUES (2, 123, '123', '123');
INSERT INTO `user` VALUES (3, 1234, '1234', '123');
SET FOREIGN_KEY_CHECKS = 1;
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化