23 lines
904 B
Plaintext
23 lines
904 B
Plaintext
|
|
DELETE charge_records 7 行 (ids=[10, 11, 12, 13, 14, 15, 16])
|
||
|
|
DELETE compartments 3 行 (ids=[5, 6, 7])
|
||
|
|
DELETE cabin_boards 3 行 (ids=[3, 4, 5])
|
||
|
|
DELETE cabinets 3 行 (ids=[2, 3, 4])
|
||
|
|
DELETE projects 2 行 (ids=[2, 3])
|
||
|
|
DELETE organizations 1 行 (ids=[4])
|
||
|
|
DELETE download_tasks 4 行 (ids=[1, 2, 3, 4])
|
||
|
|
DELETE users 1 行 (ids=[7])
|
||
|
|
|
||
|
|
=== 清理后校验 ===
|
||
|
|
charge_records = 0
|
||
|
|
energy_stats = 0
|
||
|
|
cabinets = 1
|
||
|
|
projects = 1
|
||
|
|
organizations = 1
|
||
|
|
users = 0
|
||
|
|
compartments = 4
|
||
|
|
cabin_boards = 2
|
||
|
|
download_tasks = 0
|
||
|
|
charge_records 索引(应保留): (('compartment_id', 'compartment_id'), ('idx_charge_records_cabinet', 'cabinet_id'), ('idx_charge_records_cabinet_start_time', 'cabinet_id,start_time'), ('idx_charge_records_start_time', 'start_time'), ('PRIMARY', 'id'))
|
||
|
|
|
||
|
|
临时数据清理完成
|