migrate/1745379500_create_exam_cert_log.up.sql
2025-04-23 13:59:51 +08:00

9 lines
426 B
SQL

CREATE TABLE `ufutx_exam_cert_log` (
`id` BIGINT NOT NULL AUTO_INCREMENT ,
`user_id` int NOT NULL COMMENT "用户id",
`paper_id` int NOT NULL COMMENT "试卷id",
`status` tinyint NOT NULL COMMENT "状态, 0:审核中, 1:已通过,-1:已拒绝",
`created_at` TIMESTAMP NULL DEFAULT NULL ,
`updated_at` TIMESTAMP NULL DEFAULT NULL ,
PRIMARY KEY (`id`)
) ENGINE = InnoDB COMMENT = '测试试卷';