Commit fad4ef3c by 仲光辉

feat: add sql.

parent a56fa5e9
# # 2022.05.25
# # 2022.05.25
......@@ -5231,7 +5231,6 @@
#
### 线上数据已经执行 执行时间: 2022.11.28 1530
# alter table project_contract_info
......@@ -5248,9 +5247,6 @@
#
### 线上数据已经执行 执行时间: 2022.12.81 2323
......@@ -5608,6 +5604,23 @@
alter table opportunity
modify is_delete tinyint(1) default 0 null comment '是否删除:0-未删;1-已删除 1.8.1 新需求可以存在多条复看记录,没次看到的都是最新的一天记录数据 实现逻辑: 最新的记录数据的 isDelete 字段取值为0 ,其Ta记录数据的 isDelete 取值为 1';
alter table opportunity
add origin_opportunity_uuid bigint(19) not null comment '当前记录所属初看/上一次复看记录 uuid {@link #getUuid()}';
alter table opportunity
add review_times int default 0 null comment '复看次数 默认 0';
alter table opportunity
add first_origin_opportunity_uuid bigint(19) not null comment '当前记录的初看记录uuid {@link #getUuid()}';
alter table opportunity
add current_opportunity_uuid bigint(19) not null comment '当前最新的记录uuid {@code {@link #isDelete} == 0}';
......
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