Files
tuanwei-java/sql/20260423_create_wxxzx_archive_record.sql
2026-07-20 11:48:06 +08:00

18 lines
960 B
SQL
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

CREATE TABLE IF NOT EXISTS gxmu_wxxzx_archive_record (
id BIGINT AUTO_INCREMENT PRIMARY KEY COMMENT '主键ID',
project_id INT NOT NULL COMMENT '未来学术之星项目ID',
archive_order INT NULL COMMENT '排序号',
award_name VARCHAR(255) NULL COMMENT '获奖名称',
award_time VARCHAR(30) NULL COMMENT '获奖时间',
remark TEXT NULL COMMENT '备注说明',
proof_file VARCHAR(500) NULL COMMENT '上传凭证',
year INT NULL COMMENT '年度',
user_id BIGINT NULL COMMENT '用户ID',
tenant_id BIGINT NULL COMMENT '租户ID',
deleted INT DEFAULT 0 COMMENT '删除标记0未删 1已删',
create_time DATETIME DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
update_time DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
INDEX idx_wxxzx_archive_project_id (project_id),
INDEX idx_wxxzx_archive_year (year)
) COMMENT='未来学术之星成果归档记录';