migrate/1770256450_create_test_report.up.sql
2026-02-05 09:58:04 +08:00

9 lines
402 B
SQL

CREATE TABLE `health`.`ufutx_test_report` (
`id` BIGINT NOT NULL AUTO_INCREMENT,
`user_id` BIGINT NOT NULL COMMENT '用户id',
`type` INTEGER NOT NULL COMMENT '类型 1:心理测试',
`result` JSON NOT NULL COMMENT "测试结果",
`created_at` TIMESTAMP NULL DEFAULT NULL,
`updated_at` TIMESTAMP NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE = InnoDB COMMENT = '测试表';