This commit is contained in:
wangliwen 2022-08-12 16:29:48 +08:00
parent ab11836c23
commit 6e7c224109
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
DROP TABLE IF EXISTS `t_api_count_history`;
CREATE TABLE `t_api_count_history` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`version` bigint COMMENT '数据版本号从0递增',
`current_count`bigint COMMENT '当前总数,只有最新一条有效',
`history_count`bigint COMMENT '保存历史重启的数量',
`create_time` datetime NULL DEFAULT NULL,
`update_time` datetime NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB COMMENT = '网关历史调用总数';