Blame view

sql/migration/exclude_tables.txt 1.75 KB
55f68655   王彪总   新项目
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
  # 合库时不搬的表
  # 由 sql/tools/gen_migration_sql.py 生成,**不要手改**
  #   来源一 = check_subset.py 的 CHECKS              —— 重名表的所有副本(23 张)
  #   来源二 = audit_junk_tables.DO_NOT_MIGRATE       —— 已拍板不搬(7 张:空表 4 + 有数据的备份 3)
  # 用途:mysqldump --ignore-table=<此行> ;保留侧见 merge-conflict-plan.md
  # 行数=30
  #
  # ⚠️ 来源二里的 `备份` 那 3 张**是有数据的**(含约 133 GB 的历史统计快照)——
  #    不是「空表所以无所谓」,是业务方 2026-10-10 拍板「备份表,无需理会」。
  #    数据仍在六个老库里(只读保留、未销毁);哪天要的话从**老库**单独导出,
  #    别往新库里补。判断依据与理由串见 ../legacy-db-actual.md §10.1。
  
  zt_bill.parking_lot
  zt_order.park_in_out_record
  zt_order.parking_lot
  zt_order.sys_org
  zt_order.t_vip_card_cust_info
  zt_order.tb_b_park_income_day
  zt_order.td_b_settlement
  zt_order.td_b_settlement_org
  zt_order.td_b_settlement_record
  zt_order.td_b_settlement_serial
  zt_order.td_b_settlement_share_record
  zt_order.td_b_wx_config
  zt_order.td_p_parking_share_order_temp
  zt_order_n.parking_lot
  zt_order_n.sys_org
  zt_order_n.td_c_coupon_person
  zt_order_n.td_c_cust_person
  zt_order_n.tp_e_employee_charge
  zt_order_n.tp_p_berths
  zt_park.income_temp
  zt_park.month_dchz
  zt_park.sys_org
  zt_park.table_15_free
  
  # ---- 以下为 §10.1 拍板不搬的废弃/备份表(非重名表副本,空表 4 + 备份 3)----
  zt_order.td_b_pay_blncac_diff_copy
  zt_order_n.td_b_pay_blncac_result_bak
  zt_park.del20181116td_g_first_guide_info_config
  zt_park.del20181116td_g_guide_park_berths
  zt_park.parking_running_statistic2023
  zt_park.parking_running_statistic2025
  zt_sys.sys_op_advice_bak