数据库字段修改

This commit is contained in:
JinLu.Yin 2022-06-08 23:31:28 +08:00
parent 0d7e12db31
commit 84b9a07519

View File

@ -6,6 +6,7 @@ create table cal_team (
team_id bigint(20) not null auto_increment comment '班组ID', team_id bigint(20) not null auto_increment comment '班组ID',
team_code varchar(64) not null comment '班组编号', team_code varchar(64) not null comment '班组编号',
team_name varchar(255) not null comment '班组名称', team_name varchar(255) not null comment '班组名称',
calendar_type varchar(64) comment '班组类型',
remark varchar(500) default '' comment '备注', remark varchar(500) default '' comment '备注',
attr1 varchar(64) default null comment '预留字段1', attr1 varchar(64) default null comment '预留字段1',
attr2 varchar(255) default null comment '预留字段2', attr2 varchar(255) default null comment '预留字段2',
@ -51,6 +52,7 @@ create table cal_plan (
plan_id bigint(20) not null auto_increment comment '计划ID', plan_id bigint(20) not null auto_increment comment '计划ID',
plan_code varchar(64) not null comment '计划编号', plan_code varchar(64) not null comment '计划编号',
plan_name varchar(255) not null comment '计划名称', plan_name varchar(255) not null comment '计划名称',
calendar_type varchar(64) comment '班组类型',
start_date datetime not null comment '开始日期', start_date datetime not null comment '开始日期',
end_date datetime not null comment '结束日期', end_date datetime not null comment '结束日期',
shift_type varchar(64) comment '轮班方式', shift_type varchar(64) comment '轮班方式',
@ -125,8 +127,8 @@ create table cal_holiday (
holiday_id bigint(20) not null auto_increment comment '流水号', holiday_id bigint(20) not null auto_increment comment '流水号',
the_day datetime comment '日期', the_day datetime comment '日期',
holiday_type varchar(64) comment '日期类型', holiday_type varchar(64) comment '日期类型',
start_time datetime not null comment '开始时间', start_time datetime comment '开始时间',
end_time datetime not null comment '结束时间', end_time datetime comment '结束时间',
remark varchar(500) default '' comment '备注', remark varchar(500) default '' comment '备注',
attr1 varchar(64) default null comment '预留字段1', attr1 varchar(64) default null comment '预留字段1',
attr2 varchar(255) default null comment '预留字段2', attr2 varchar(255) default null comment '预留字段2',