Files
hldrCenter/server/sql/social_service.sql
2025-10-29 11:32:39 +08:00

20 lines
1.4 KiB
SQL
Raw 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 social_service
(
id bigint auto_increment comment '主键ID'
primary key,
title varchar(255) not null comment '标题',
subtitle varchar(255) null comment '副标题',
cover_url varchar(512) null comment '封面图片URL',
intro varchar(1000) null comment '简介(纯文字)',
content longtext null comment '内容Markdown格式',
image_editors varchar(512) null comment '图片编辑者名单(多个用逗号分隔)',
text_editors varchar(512) null comment '文字编辑者名单(多个用逗号分隔)',
chief_editor varchar(100) null comment '总编辑',
proofreaders varchar(512) null comment '校对者名单(多个用逗号分隔)',
reviewers varchar(512) null comment '审核者名单(多个用逗号分隔)',
publish_time datetime default CURRENT_TIMESTAMP null comment '发布时间(默认插入时的当前时间)',
update_time datetime default CURRENT_TIMESTAMP null on update CURRENT_TIMESTAMP comment '最后更改时间(自动更新)'
)
comment '社会服务表' charset = utf8mb4;