完成社会服务sql
This commit is contained in:
19
server/sql/social_service.sql
Normal file
19
server/sql/social_service.sql
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
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;
|
||||||
|
|
||||||
Reference in New Issue
Block a user