update sql/demo_iotdb.sql.

补全表结构

Signed-off-by: 山东云则 <fae@5iot.cn>
This commit is contained in:
山东云则
2025-03-05 05:19:02 +00:00
committed by Gitee
parent c6cf4b41dd
commit f47e34ad0c
+17
View File
@@ -637,6 +637,23 @@ INSERT INTO `sys_config` VALUES (13, 'C端充值失败再次充值执行次数',
INSERT INTO `sys_config` VALUES (14, '快到期', 'card.expiringSoonCount', '45', 'Y', 'admin', '2022-01-24 13:55:41', '', NULL, '45天到期卡号,用于首页判断相差多少天到期');
INSERT INTO `sys_config` VALUES (15, '首页数据缓存时间', 'IndexpageCacheTime', '15', 'Y', 'admin', '2022-01-25 16:59:01', '', NULL, '15 = 15分钟');
-- ----------------------------
-- Table structure for yz_passageway_polling
-- ----------------------------
DROP TABLE IF EXISTS `yz_passageway_polling`;
CREATE TABLE `yz_passageway_polling` (
`id` int NOT NULL AUTO_INCREMENT COMMENT 'id',
`cd_id` int NOT NULL COMMENT '通道编号',
`create_date` datetime NULL DEFAULT NULL COMMENT '创建时间',
`upd_date` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
`cd_count` int NOT NULL COMMENT '轮序总数',
`cd_current` int NULL DEFAULT NULL COMMENT '当前轮序数量',
`polling_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '轮序批次编码',
`syn_date` datetime NULL DEFAULT NULL COMMENT '最近一次同步时间',
`polling_type` int NULL DEFAULT NULL COMMENT '轮询类型 ',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 820966 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '通道轮序详情表' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Table structure for sys_dept
-- ----------------------------