Commit b53dd009 by 仲光辉

feat:新增sql

parent afd50f7a
# # 2022.05.25
# # 2022.05.25
......@@ -5041,50 +5041,64 @@
### 线上数据已经执行 执行时间: 2022.10.09 16:56
### 账单列表新增字段
# alter table bill
# add last_credited_time date null comment '最近入账时间';
#
# alter table bill
# add billing_operator varchar(64) null comment '入账操作人';
#
# alter table bill
# add billing_operator_uuid varchar(64) null comment '入账操作人 uuid';
#
# alter table invoices
# add send_status tinyint null comment '(电子发票交付)发送状态: 0:无 1:未发送 2:已发送';
#
# alter table invoices
# add buyer_mobile text null comment '购方手机号码,多个以英文分号” ;”间隔,最多5个,用来接收交付电子发票的短信';
#
# alter table invoices
# modify buyer_email text null comment '购方邮箱,多个邮箱以英文分号” ;”间隔,最多5个';
#
# alter table invoices
# modify send_status tinyint null comment '(电子发票交付)发送状态: 0:无 1:成功 2:失败';
#
#
# ## 发票发送记录
# -- auto-generated definition
# create table invoices_send_record
# (
# invoices_send_record_uuid bigint(19) not null comment '主键 id'
# primary key,
# invoices_uuid bigint(19) not null comment 'invoices uuid',
# target_type tinyint(1) default 1 null comment '目标类型: 1:手机号 2:邮箱 default:1',
# target_account varchar(64) not null comment '目录账号(手机号/邮箱)',
# send_status tinyint(1) default 0 null comment '发送状态: 0:成功 1:失败 default:0 ',
# message varchar(200) null comment '响应消息',
# is_delete tinyint(1) default 0 null comment '是否删除:0-未删;1-已删除',
# create_name varchar(32) null comment '创建人名字',
# update_name varchar(32) null comment '修改人名字',
# create_uuid char(32) null comment '创建人',
# update_uuid char(32) null comment '修改人',
# create_time datetime default CURRENT_TIMESTAMP null comment '创建时间',
# update_time datetime default CURRENT_TIMESTAMP null on update CURRENT_TIMESTAMP comment '修改时间'
# )
# comment '发票发送记录';
#
# create index invoices_send_record_invoices_uuid_index
# on invoices_send_record (invoices_uuid);
#
# create index invoices_send_record_target_account_index
# on invoices_send_record (target_account);
#
#
# alter table project_floor_sub_item
# modify note LONGTEXT null comment '销控推广笔记';
#
# alter table admin_logs
# modify params longtext null;
### 线上数据已经执行 执行时间: 2022.10.13 18:16
......
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