diff --git a/1725266271_create_table_step.up.sql b/1725266271_create_table_step.up.sql new file mode 100644 index 0000000..bd42f87 --- /dev/null +++ b/1725266271_create_table_step.up.sql @@ -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='历史步数表'; \ No newline at end of file