瀏覽代碼

[SQL][修改][为租金及物业账单添加索引]

release_toaliyun_real
gongbiao 7 年之前
父節點
當前提交
4b273dd752
共有 1 個檔案被更改,包括 17 行新增0 行删除
  1. +17
    -0
      mallinkAdmin/src/main/resources/db/migration/V201907031141__G_ALTER_RENT_PROPERTY.sql

+ 17
- 0
mallinkAdmin/src/main/resources/db/migration/V201907031141__G_ALTER_RENT_PROPERTY.sql 查看文件

@@ -0,0 +1,17 @@
alter table wx_bill_rent add index t_p(tenant_id,is_preview);
alter table wx_bill_rent add index r_m(rent_contract_id,merchant_id);
alter table wx_bill_rent add index st(rent_shop_type);
alter table wx_bill_rent add index sta(`status`);

alter table wx_bill_rent_deposit add index r(rent_contract_id);
alter table wx_bill_rent_deposit add index r_m(rent_contract_id,merchant_id);
alter table wx_bill_rent_deposit add index sta(`status`);

alter table wx_bill_property add index t_p(tenant_id,is_preview);
alter table wx_bill_property add index p_m(property_contract_id,merchant_id);
alter table wx_bill_property add index st(rent_shop_type);
alter table wx_bill_property add index sta(`status`);

alter table wx_bill_property_deposit add index p(property_contract_id);
alter table wx_bill_property_deposit add index p_m(property_contract_id,merchant_id);
alter table wx_bill_property_deposit add index sta(`status`);

Loading…
取消
儲存