diff --git a/1763523183_table_exam_paper_add_appointed_time.up.sql b/1763523183_table_exam_paper_add_appointed_time.up.sql new file mode 100644 index 0000000..e33c2de --- /dev/null +++ b/1763523183_table_exam_paper_add_appointed_time.up.sql @@ -0,0 +1,2 @@ +ALTER TABLE `ufutx_exam_paper` +ADD COLUMN `appointed_time` JSON DEFAULT NULL comment "可预约时间" after `sort` \ No newline at end of file diff --git a/1763536049_create_exam_appointed_log.up.sql b/1763536049_create_exam_appointed_log.up.sql new file mode 100644 index 0000000..f558dec --- /dev/null +++ b/1763536049_create_exam_appointed_log.up.sql @@ -0,0 +1,8 @@ +CREATE TABLE `ufutx_exam_appointed_log` ( + `id` INT NOT NULL AUTO_INCREMENT, + `user_id` INTEGER NOT NULL COMMENT '用户id', + `name` VARCHAR(50) DEFAULT NULL COMMENT '昵称', + `mobile` VARCHAR(50) DEFAULT NULL COMMENT '手机号', + `appointed_time` JSON DEFAULT NULL COMMENT '预约时间', + PRIMARY KEY (`id`) +) ENGINE = InnoDB COMMENT = '预约记录'; \ No newline at end of file