Commit 90e03a5c by 仲光辉

exec: 执行 SQL.

parent 319e9411
# # 2022.05.25
# # 2022.05.25
......@@ -5100,67 +5100,80 @@
### 线上数据已经执行 执行时间: 2022.10.13 18:16
alter table notification_instruments
modify content_type int(1) default 1 null comment '文本类型 1:模版world 2:富文本 3:附件';
alter table notification_instruments
add file_url varchar(200) null comment '文件地址/附件地址(content_type=3)';
alter table expand_data
modify data_secondary_type int(1) null comment '数据二级类型 1:工程租 2:楼面租 3:商务租 4:法务组 5:结算组 6: 其他费用总计 7:交楼单 8: 企业资料 9: 交楼单操作指引 在系统是一个枚举值';
-- auto-generated definition
create table notification_instruments_attachment_record
(
uuid bigint not null comment '主键 uuid'
primary key,
notification_instruments_uuid bigint not null comment 'notification_instruments uuid',
notification_instruments_sending_statistics_uuid bigint not null comment 'notification_instruments_sending_statistics uuid',
tag tinyint(1) not null comment '标签: 0:用户上传 1:后台编辑',
type tinyint(1) not null comment '类型: 1: 文书附件 2: 文书附件编辑记录 ',
document_name varchar(100) null comment '文档名称',
url varchar(200) not null comment '附件地址',
record_id bigint(19) not null comment '记录 id 同一记录的 记录 id 是一致的.',
create_uuid char(32) not null comment '创建人',
creator_name varchar(64) null comment '创建人姓名',
update_uuid char(32) not null comment '修改人',
updater_name varchar(64) null comment '更新人姓名',
create_time datetime default CURRENT_TIMESTAMP null comment '创建时间',
update_time datetime default CURRENT_TIMESTAMP null on update CURRENT_TIMESTAMP comment '修改时间',
is_delete tinyint(1) default 0 null comment '是否删除: 0:未删 1:已删除 default:0'
)
comment '通知文书附件记录';
create index idx_notification_instruments_sending_statistics_uuid_index
on notification_instruments_attachment_record (notification_instruments_sending_statistics_uuid);
create index idx_notification_instruments_uuid_index
on notification_instruments_attachment_record (notification_instruments_uuid);
alter table notification_instruments_record
add submit_count int default 0 null comment '用户提交(交楼单图片)次数';
alter table notification_instruments_attachment_record
add notification_instruments_record_uuid bigint(19) not null comment 'notification_instruments_record uuid ';
alter table notification_instruments
add is_custom tinyint(1) default 0 null comment '是否自定义: 0:否 1:是 default: 0';
alter table notification_instruments_attachment_record
add company_uuid varchar(64) null comment 'company uuid';
# alter table notification_instruments
# modify content_type int(1) default 1 null comment '文本类型 1:模版world 2:富文本 3:附件';
#
# alter table notification_instruments
# add file_url varchar(200) null comment '文件地址/附件地址(content_type=3)';
#
# alter table expand_data
# modify data_secondary_type int(1) null comment '数据二级类型 1:工程租 2:楼面租 3:商务租 4:法务组 5:结算组 6: 其他费用总计 7:交楼单 8: 企业资料 9: 交楼单操作指引 在系统是一个枚举值';
#
#
# -- auto-generated definition
# create table notification_instruments_attachment_record
# (
# uuid bigint not null comment '主键 uuid'
# primary key,
# notification_instruments_uuid bigint not null comment 'notification_instruments uuid',
# notification_instruments_sending_statistics_uuid bigint not null comment 'notification_instruments_sending_statistics uuid',
# tag tinyint(1) not null comment '标签: 0:用户上传 1:后台编辑',
# type tinyint(1) not null comment '类型: 1: 文书附件 2: 文书附件编辑记录 ',
# document_name varchar(100) null comment '文档名称',
# url varchar(200) not null comment '附件地址',
# record_id bigint(19) not null comment '记录 id 同一记录的 记录 id 是一致的.',
# create_uuid char(32) not null comment '创建人',
# creator_name varchar(64) null comment '创建人姓名',
# update_uuid char(32) not null comment '修改人',
# updater_name varchar(64) null comment '更新人姓名',
# create_time datetime default CURRENT_TIMESTAMP null comment '创建时间',
# update_time datetime default CURRENT_TIMESTAMP null on update CURRENT_TIMESTAMP comment '修改时间',
# is_delete tinyint(1) default 0 null comment '是否删除: 0:未删 1:已删除 default:0'
# )
# comment '通知文书附件记录';
#
# create index idx_notification_instruments_sending_statistics_uuid_index
# on notification_instruments_attachment_record (notification_instruments_sending_statistics_uuid);
#
# create index idx_notification_instruments_uuid_index
# on notification_instruments_attachment_record (notification_instruments_uuid);
#
# alter table notification_instruments_record
# add submit_count int default 0 null comment '用户提交(交楼单图片)次数';
#
#
# alter table notification_instruments_attachment_record
# add notification_instruments_record_uuid bigint(19) not null comment 'notification_instruments_record uuid ';
#
# alter table notification_instruments
# add is_custom tinyint(1) default 0 null comment '是否自定义: 0:否 1:是 default: 0';
#
# alter table notification_instruments_attachment_record
# add company_uuid varchar(64) null comment 'company uuid';
#
# alter table contract_file
# add lessee_flow_id varchar(100) null comment '承租方 e签宝 flowId';
#
#
#
# alter table contract_model
# add contract_model_type tinyint(1) null comment '模版类型: 1:按套间 2:按面积 3:创客联邦';
#
# alter table contract_model
# add seal_key_words text null comment '盖章关键字 多关键字 英文逗号分割';
#
# alter table notification_instruments
# add download_count int default 0 null comment '下载次数 default: 0';
#
# alter table contract
# add enable_operating_management_bill tinyint(1) default 0 null comment '按套间租赁是否开启运营管理费 0:否 1:是 default: 0';
alter table contract_file
add lessee_flow_id varchar(100) null comment '承租方 e签宝 flowId';
# alter table invoices_send_record
# modify send_status tinyint(1) default 0 null comment '发送状态: 0:成功 1:失败 2:暂存';
alter table contract_model
add contract_model_type tinyint(1) null comment '模版类型: 1:按套间 2:按面积 3:创客联邦';
alter table contract_model
add seal_key_words text null comment '盖章关键字 多关键字 英文逗号分割';
......
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