修改总体sql
This commit is contained in:
@@ -212,6 +212,46 @@ create table social_service
|
|||||||
)
|
)
|
||||||
comment '社会服务表' charset = utf8mb4;
|
comment '社会服务表' charset = utf8mb4;
|
||||||
|
|
||||||
|
create table social_service_governmentprogram
|
||||||
|
(
|
||||||
|
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 '最后更改时间(自动更新)',
|
||||||
|
is_delete int default 0 not null comment '软删除'
|
||||||
|
)
|
||||||
|
comment '乡村政府项目表' charset = utf8mb4;
|
||||||
|
|
||||||
|
create table social_service_internship
|
||||||
|
(
|
||||||
|
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 '最后更改时间(自动更新)',
|
||||||
|
is_delete int default 0 not null comment '软删除'
|
||||||
|
)
|
||||||
|
comment '研究实习项目表' charset = utf8mb4;
|
||||||
|
|
||||||
create table teaching_case
|
create table teaching_case
|
||||||
(
|
(
|
||||||
id int auto_increment comment '案例ID(主键)'
|
id int auto_increment comment '案例ID(主键)'
|
||||||
|
|||||||
Reference in New Issue
Block a user