diff --git a/1770256450_create_test_report.up.sql b/1770256450_create_test_report.up.sql new file mode 100644 index 0000000..635b1f1 --- /dev/null +++ b/1770256450_create_test_report.up.sql @@ -0,0 +1,9 @@ +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 = '测试表'; \ No newline at end of file