diff --git a/1729648065_create_table_user_pressure.up.sql b/1729648065_create_table_user_pressure.up.sql new file mode 100644 index 0000000..5d8b915 --- /dev/null +++ b/1729648065_create_table_user_pressure.up.sql @@ -0,0 +1,10 @@ +CREATE TABLE `ufutx_user_pressure` ( + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `user_id` int(11) NOT NULL COMMENT '用户id', + `high_pressure` int(11) NOT NULL COMMENT '高压', + `low_pressure` int(11) NOT NULL COMMENT '低压', + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `user_id` (`user_id`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户高低压表'; \ No newline at end of file