Commit 7e29a1e5 by 仲光辉

feat: add sql.

parent f8f7e078
# alter table admin # alter table admin
...@@ -1621,33 +1621,36 @@ ...@@ -1621,33 +1621,36 @@
# add is_transfer tinyint(1) default 0 null comment '是否城市间转介绍 0:否 1:是'; # add is_transfer tinyint(1) default 0 null comment '是否城市间转介绍 0:否 1:是';
### 会议室改版 # ### 会议室改版
alter table room_order # alter table room_order
add pwd varchar(100) default null null comment '预约密码'; # add pwd varchar(100) default null null comment '预约密码';
### 会议室成员 # ### 会议室成员
CREATE TABLE room_order_member # CREATE TABLE room_order_member
( # (
room_order_member_uuid BIGINT(19) NOT NULL PRIMARY KEY COMMENT 'room_order_member uuid', # room_order_member_uuid BIGINT(19) NOT NULL PRIMARY KEY COMMENT 'room_order_member uuid',
room_order_uuid CHAR(32) NOT NULL COMMENT 'room order uuid', # room_order_uuid CHAR(32) NOT NULL COMMENT 'room order uuid',
user_uuid CHAR(32) NOT NULL COMMENT 'user uuid', # user_uuid CHAR(32) NOT NULL COMMENT 'user uuid',
wx_union_id CHAR(128) NOT NULL COMMENT '微信的unionId', # wx_union_id CHAR(128) NOT NULL COMMENT '微信的unionId',
role TINYINT(1) DEFAULT 1 COMMENT '角色:0:会议创建人 1:参会人员 default: 1' # role TINYINT(1) DEFAULT 1 COMMENT '角色:0:会议创建人 1:参会人员 default: 1'
) COMMENT '会议成员信息'; # ) COMMENT '会议成员信息';
#
alter table room_order_member # alter table room_order_member
add create_time datetime not null comment '创建时间'; # add create_time datetime not null comment '创建时间';
#
alter table room_order_member # alter table room_order_member
add update_time datetime not null comment '更新时间'; # add update_time datetime not null comment '更新时间';
#
alter table room_order_member # alter table room_order_member
add is_delete tinyint(1) default 0 null comment '是否删除 0:否 1:是'; # add is_delete tinyint(1) default 0 null comment '是否删除 0:否 1:是';
#
alter table room_order_member # alter table room_order_member
add staff_name varchar(30) null comment '员工姓名'; # add staff_name varchar(30) null comment '员工姓名';
#
alter table room_order_member # alter table room_order_member
add staff_phone varchar(20) null comment '员工手机号'; # add staff_phone varchar(20) null comment '员工手机号';
#
# alter table room
# add is_screen tinyint(1) default 0 null comment '是否是预约屏会议室 0:否 1:是 ';
alter table contract alter table contract
add contract_invalid_type tinyint(1) default 0 null comment '合同作废类型: 0:合同作废 1:合同变更老合同作废 2:合同变更新合同作废'; add contract_invalid_type tinyint(1) default 0 null comment '合同作废类型: 0:合同作废 1:合同变更老合同作废 2:合同变更新合同作废';
...@@ -3372,9 +3375,6 @@ alter table contract ...@@ -3372,9 +3375,6 @@ alter table contract
alter table contract alter table contract
add is_approval tinyint(1) default 0 null comment '否审批通过 0:否 1:是'; add is_approval tinyint(1) default 0 null comment '否审批通过 0:否 1:是';
alter table room
add is_screen tinyint(1) default 0 null comment '是否是预约屏会议室 0:否 1:是 ';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment