From b9aa1b25cc47e2e9350f16a8566a6a8bab229793 Mon Sep 17 00:00:00 2001 From: XiaoLFeng Date: Thu, 18 Apr 2024 22:34:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=B8=9A=E5=8A=A1):=20=E4=B8=9A=E5=8A=A1?= =?UTF-8?q?=E8=A1=A5=E4=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 数据库建表内容修改 --- src/main/resources/mysql/oa_project_child.sql | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/resources/mysql/oa_project_child.sql b/src/main/resources/mysql/oa_project_child.sql index c750c63..f4f771c 100644 --- a/src/main/resources/mysql/oa_project_child.sql +++ b/src/main/resources/mysql/oa_project_child.sql @@ -2,7 +2,7 @@ create table oa_project_child ( id bigint unsigned auto_increment comment '项目id' primary key, - project_id bigint unsigned not null comment '主要项目id', + project_id bigint unsigned null comment '主要项目id', name varchar(100) not null comment '项目名称', principal_id bigint unsigned not null comment '项目负责人', description json null comment '项目描述(技术选择,描述)', @@ -13,11 +13,8 @@ create table oa_project_child created_at timestamp default CURRENT_TIMESTAMP not null comment '创建时间', updated_at timestamp null comment '更新时间', is_delete tinyint(1) default 0 not null comment '项目是否删除', - dead_line timestamp not null comment '子系统的截止时间', - status varchar(8) default 'progress' not null comment '系统状态(draft: 草稿,progress: 进行,pause: 暂停,abnormal: 异常,complete: 完成)', constraint oa_project_child_oa_user_id_fk foreign key (principal_id) references oa_user (id) on update cascade ) - comment '项目表'; - + comment '项目表'; \ No newline at end of file