migrate/1729648065_create_table_user_pressure.up.sql
2024-10-23 10:30:45 +08:00

10 lines
459 B
SQL

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='用户高低压表';