历史步数修改,redis数据异常丢失
This commit is contained in:
parent
788914e77e
commit
7c11dddcdd
10
1725266271_create_table_step.up.sql
Normal file
10
1725266271_create_table_step.up.sql
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
CREATE TABLE `ufutx_history_step`
|
||||||
|
(
|
||||||
|
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
|
`step_id` int(11) NOT NULL DEFAULT '0',
|
||||||
|
`year_month` varchar(12) NOT NULL,
|
||||||
|
`step_count` int(11) NOT NULL DEFAULT '0',
|
||||||
|
`created_at` timestamp NULL DEFAULT NULL,
|
||||||
|
`updated_at` timestamp NULL DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='历史步数表';
|
Loading…
Reference in New Issue
Block a user