migration_log_20250923_132621.txt 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189
  1. 迁移日志文件: migration_log_20250923_132621.txt
  2. 连接成功: SQLite(db.sqlite3) → PostgreSQL(wmsdb)
  3. 是否在迁移前清空 PostgreSQL 数据库?
  4. 1. 清空所有数据 (确保无重复)
  5. 2. 不清空 (可能产生重复数据)
  6. 3. 退出
  7. 警告: 此操作将清空 PostgreSQL 数据库中的所有数据!
  8. 已清空表: django_migrations
  9. 已清空表: django_content_type
  10. 已清空表: auth_permission
  11. 已清空表: auth_group
  12. 已清空表: auth_group_permissions
  13. 已清空表: auth_user
  14. 已清空表: auth_user_groups
  15. 已清空表: auth_user_user_permissions
  16. 已清空表: django_admin_log
  17. 已清空表: bounddetail
  18. 已清空表: outbounddetail
  19. 已清空表: batchlog
  20. 已清空表: boundlist
  21. 已清空表: task
  22. 已清空表: container_detail
  23. 已清空表: container_list
  24. 已清空表: container_wcs
  25. 已清空表: allocation_pre
  26. 已清空表: erp_inboundbill
  27. 已清空表: erp_outboundbill
  28. 已清空表: erp_materialdetail
  29. 已清空表: erp_outmaterialdetail
  30. 已清空表: base_location
  31. 已清空表: location
  32. 已清空表: location_container_link
  33. 已清空表: location_change_log
  34. 已清空表: allocation_history
  35. 已清空表: location_group
  36. 已清空表: location_group_location_items
  37. 已清空表: device
  38. 已清空表: boundbatch
  39. 已清空表: outbatch
  40. 已清空表: materialstatistics
  41. 已清空表: outbounddemand
  42. 已清空表: container_operation
  43. 已清空表: out_batch_detail
  44. 已清空表: container_detail_log
  45. 已清空表: batch_log_from_container_log_detail_logs
  46. 已清空表: batch_log_from_container_log
  47. 已清空表: material_change_history
  48. 已清空表: erp_inboundbilloperatelog
  49. 已清空表: erp_outboundbilloperatelog
  50. 已清空表: flowlist
  51. 已清空表: bigscreen
  52. 已清空表: django_session
  53. 已清空表: staff
  54. 已清空表: stafftype
  55. 已清空表: shelflist
  56. 已清空表: throttle
  57. 已清空表: user_profile
  58. 已清空表: baseset
  59. 已清空表: bound_business
  60. 已清空表: bound_code_type
  61. 已清空表: bound_status
  62. 已清空表: bound_type
  63. 已清空表: department
  64. 已清空表: warehouse
  65. 已清空表: product
  66. 成功清空 PostgreSQL 数据库中的所有数据
  67. 分析完成: 发现 50 个表, 依赖顺序已确定
  68. 开始迁移 50 个表
  69. 第 1 轮迁移尝试
  70. 准备迁移表: auth_group
  71. 表 auth_group 为空,跳过
  72. 准备迁移表: auth_user
  73. 表 auth_user 有 3 行数据需要迁移
  74. 使用主键 (id) 处理冲突
  75. 字段长度限制:
  76. password: 128 字符
  77. last_name: 150 字符
  78. email: 254 字符
  79. username: 150 字符
  80. first_name: 150 字符
  81. 成功迁移 3 行数据
  82. 准备迁移表: location_container_link
  83. 检查 location_container_link 的依赖表迁移状态...
  84. ? container_wcs 尚未迁移
  85. ? task 尚未迁移
  86. ? location 尚未迁移
  87. ? container_list 尚未迁移
  88. 依赖表未完全迁移,暂时跳过 location_container_link
  89. 准备迁移表: location_change_log
  90. 检查 location_change_log 的依赖表迁移状态...
  91. ? container_wcs 尚未迁移
  92. ? task 尚未迁移
  93. ? location 尚未迁移
  94. ? location 尚未迁移
  95. ? container_list 尚未迁移
  96. 依赖表未完全迁移,暂时跳过 location_change_log
  97. 准备迁移表: allocation_history
  98. 检查 allocation_history 的依赖表迁移状态...
  99. ? container_wcs 尚未迁移
  100. ? task 尚未迁移
  101. ? location 尚未迁移
  102. ? location 尚未迁移
  103. ? container_list 尚未迁移
  104. 依赖表未完全迁移,暂时跳过 allocation_history
  105. 准备迁移表: task
  106. 检查 task 的依赖表迁移状态...
  107. ? container_wcs 尚未迁移
  108. ? container_detail 尚未迁移
  109. ? bounddetail 尚未迁移
  110. 依赖表未完全迁移,暂时跳过 task
  111. 准备迁移表: bounddetail
  112. 检查 bounddetail 的依赖表迁移状态...
  113. ? boundlist 尚未迁移
  114. ? boundbatch 尚未迁移
  115. 依赖表未完全迁移,暂时跳过 bounddetail
  116. 准备迁移表: Outbounddetail
  117. 检查 Outbounddetail 的依赖表迁移状态...
  118. ? boundlist 尚未迁移
  119. ? boundbatch 尚未迁移
  120. ? outbatch 尚未迁移
  121. 依赖表未完全迁移,暂时跳过 Outbounddetail
  122. 准备迁移表: container_wcs
  123. 检查 container_wcs 的依赖表迁移状态...
  124. ? boundlist 尚未迁移
  125. ? outbatch 尚未迁移
  126. ? boundbatch 尚未迁移
  127. 依赖表未完全迁移,暂时跳过 container_wcs
  128. 准备迁移表: allocation_pre
  129. 表 allocation_pre 有 219 行数据需要迁移
  130. 使用主键 (id) 处理冲突
  131. 字段长度限制:
  132. batch_number: 255 字符
  133. 成功迁移 219 行数据
  134. 准备迁移表: base_location
  135. 表 base_location 有 1 行数据需要迁移
  136. 使用主键 (id) 处理冲突
  137. 成功迁移 1 行数据
  138. 准备迁移表: location_group_location_items
  139. 检查 location_group_location_items 的依赖表迁移状态...
  140. ? location 尚未迁移
  141. ? location_group 尚未迁移
  142. 依赖表未完全迁移,暂时跳过 location_group_location_items
  143. 准备迁移表: device
  144. 检查 device 的依赖表迁移状态...
  145. ? location 尚未迁移
  146. 依赖表未完全迁移,暂时跳过 device
  147. 准备迁移表: location
  148. 表 location 有 1351 行数据需要迁移
  149. 使用主键 (id) 处理冲突
  150. 字段长度限制:
  151. warehouse_code: 255 字符
  152. warehouse_name: 255 字符
  153. shelf_type: 255 字符
  154. location_code: 20 字符
  155. location_group: 20 字符
  156. location_type: 3 字符
  157. status: 20 字符
  158. coordinate: 50 字符
  159. 成功迁移 1351 行数据
  160. 准备迁移表: outbatch
  161. 检查 outbatch 的依赖表迁移状态...
  162. ? boundlist 尚未迁移
  163. ? erp_outmaterialdetail 尚未迁移
  164. ? boundbatch 尚未迁移
  165. 依赖表未完全迁移,暂时跳过 outbatch
  166. 准备迁移表: outbounddemand
  167. 检查 outbounddemand 的依赖表迁移状态...
  168. ? boundlist 尚未迁移
  169. 依赖表未完全迁移,暂时跳过 outbounddemand
  170. 准备迁移表: out_batch_detail
  171. 检查 out_batch_detail 的依赖表迁移状态...
  172. ? boundlist 尚未迁移
  173. ? container_detail 尚未迁移
  174. ? container_list 尚未迁移
  175. 依赖表未完全迁移,暂时跳过 out_batch_detail
  176. 准备迁移表: batch_log_from_container_log_detail_logs
  177. 检查 batch_log_from_container_log_detail_logs 的依赖表迁移状态...
  178. ? container_detail_log 尚未迁移
  179. ? batch_log_from_container_log 尚未迁移
  180. 依赖表未完全迁移,暂时跳过 batch_log_from_container_log_detail_logs
  181. 准备迁移表: material_change_history
  182. 检查 material_change_history 的依赖表迁移状态...
  183. ? materialstatistics 尚未迁移
  184. ? batch_log_from_container_log 尚未迁移
  185. 依赖表未完全迁移,暂时跳过 material_change_history
  186. 准备迁移表: batch_log_from_container_log
  187. 检查 batch_log_from_container_log 的依赖表迁移状态...
  188. ? boundlist 尚未迁移
  189. ? boundbatch 尚未迁移
  190. 依赖表未完全迁移,暂时跳过 batch_log_from_container_log
  191. 准备迁移表: boundlist
  192. 检查 boundlist 的依赖表迁移状态...
  193. ? erp_outboundbill 尚未迁移
  194. ? erp_inboundbill 尚未迁移
  195. 依赖表未完全迁移,暂时跳过 boundlist
  196. 准备迁移表: erp_inboundbilloperatelog
  197. 检查 erp_inboundbilloperatelog 的依赖表迁移状态...
  198. ? erp_inboundbill 尚未迁移
  199. 依赖表未完全迁移,暂时跳过 erp_inboundbilloperatelog
  200. 准备迁移表: erp_outboundbilloperatelog
  201. 检查 erp_outboundbilloperatelog 的依赖表迁移状态...
  202. ? erp_outboundbill 尚未迁移
  203. 依赖表未完全迁移,暂时跳过 erp_outboundbilloperatelog
  204. 准备迁移表: staff
  205. 表 staff 有 3 行数据需要迁移
  206. 使用主键 (id) 处理冲突
  207. 字段长度限制:
  208. staff_name: 255 字符
  209. staff_type: 255 字符
  210. appid: 100 字符
  211. openid: 255 字符
  212. 成功迁移 3 行数据
  213. 准备迁移表: stafftype
  214. 表 stafftype 有 7 行数据需要迁移
  215. 使用主键 (id) 处理冲突
  216. 字段长度限制:
  217. staff_type: 255 字符
  218. openid: 255 字符
  219. creater: 255 字符
  220. 成功迁移 7 行数据
  221. 准备迁移表: throttle
  222. 表 throttle 有 4 行数据需要迁移
  223. 使用主键 (id) 处理冲突
  224. 字段长度限制:
  225. appid: 255 字符
  226. method: 18 字符
  227. t_code: 255 字符
  228. ip: 255 字符
  229. openid: 255 字符
  230. 成功迁移 4 行数据
  231. 准备迁移表: user_profile
  232. 表 user_profile 有 3 行数据需要迁移
  233. 使用主键 (id) 处理冲突
  234. 字段长度限制:
  235. name: 80 字符
  236. t_code: 100 字符
  237. openid: 100 字符
  238. appid: 100 字符
  239. ip: 100 字符
  240. avatar: 100 字符
  241. 成功迁移 3 行数据
  242. 准备迁移表: baseset
  243. 表 baseset 有 2 行数据需要迁移
  244. 使用主键 (id) 处理冲突
  245. 字段长度限制:
  246. set_name: 255 字符
  247. set_value: 9999 字符
  248. set_desc: 255 字符
  249. 成功迁移 2 行数据
  250. 准备迁移表: bound_business
  251. 表 bound_business 有 1 行数据需要迁移
  252. 使用主键 (id) 处理冲突
  253. 字段长度限制:
  254. openid: 255 字符
  255. bound_bs_code: 255 字符
  256. bound_bs_name: 255 字符
  257. creater: 255 字符
  258. 成功迁移 1 行数据
  259. 准备迁移表: bound_code_type
  260. 表 bound_code_type 有 1 行数据需要迁移
  261. 使用主键 (id) 处理冲突
  262. 字段长度限制:
  263. openid: 255 字符
  264. bound_code_type_code: 255 字符
  265. bound_code_type_name: 255 字符
  266. creater: 255 字符
  267. 成功迁移 1 行数据
  268. 准备迁移表: bound_status
  269. 表 bound_status 有 3 行数据需要迁移
  270. 使用主键 (id) 处理冲突
  271. 字段长度限制:
  272. bound_status_name: 255 字符
  273. creater: 255 字符
  274. openid: 255 字符
  275. 成功迁移 3 行数据
  276. 准备迁移表: bound_type
  277. 表 bound_type 有 1 行数据需要迁移
  278. 使用主键 (id) 处理冲突
  279. 字段长度限制:
  280. openid: 255 字符
  281. bound_type_code: 255 字符
  282. bound_type_name: 255 字符
  283. creater: 255 字符
  284. 成功迁移 1 行数据
  285. 准备迁移表: department
  286. 表 department 有 37 行数据需要迁移
  287. 使用主键 (id) 处理冲突
  288. 字段长度限制:
  289. department_manager: 255 字符
  290. creater: 255 字符
  291. openid: 255 字符
  292. department_code: 255 字符
  293. department_name: 255 字符
  294. department_contact: 255 字符
  295. 成功迁移 37 行数据
  296. 准备迁移表: warehouse
  297. 表 warehouse 有 1 行数据需要迁移
  298. 使用主键 (id) 处理冲突
  299. 字段长度限制:
  300. warehouse_address: 255 字符
  301. warehouse_contact: 255 字符
  302. warehouse_manager: 255 字符
  303. creater: 255 字符
  304. openid: 255 字符
  305. warehouse_code: 255 字符
  306. warehouse_name: 255 字符
  307. warehouse_city: 255 字符
  308. 成功迁移 1 行数据
  309. 准备迁移表: product
  310. 表 product 有 196 行数据需要迁移
  311. 使用主键 (id) 处理冲突
  312. 字段长度限制:
  313. product_name: 255 字符
  314. product_std: 255 字符
  315. product_unit: 255 字符
  316. product_package: 255 字符
  317. creater: 255 字符
  318. product_code: 255 字符
  319. 成功迁移 196 行数据
  320. 准备迁移表: location_group
  321. 表 location_group 有 321 行数据需要迁移
  322. 使用主键 (id) 处理冲突
  323. 字段长度限制:
  324. warehouse_code: 50 字符
  325. group_name: 50 字符
  326. group_type: 50 字符
  327. group_code: 50 字符
  328. current_batch: 50 字符
  329. status: 20 字符
  330. current_goods_code: 50 字符
  331. 成功迁移 321 行数据
  332. 准备迁移表: batchlog
  333. 检查 batchlog 的依赖表迁移状态...
  334. ? boundbatch 尚未迁移
  335. 依赖表未完全迁移,暂时跳过 batchlog
  336. 准备迁移表: container_detail_log
  337. 检查 container_detail_log 的依赖表迁移状态...
  338. ? container_detail 尚未迁移
  339. 依赖表未完全迁移,暂时跳过 container_detail_log
  340. 准备迁移表: container_detail
  341. 检查 container_detail 的依赖表迁移状态...
  342. ? container_list 尚未迁移
  343. ? boundbatch 尚未迁移
  344. 依赖表未完全迁移,暂时跳过 container_detail
  345. 准备迁移表: container_operation
  346. 检查 container_operation 的依赖表迁移状态...
  347. ? container_list 尚未迁移
  348. ? boundbatch 尚未迁移
  349. 依赖表未完全迁移,暂时跳过 container_operation
  350. 准备迁移表: boundbatch
  351. 检查 boundbatch 的依赖表迁移状态...
  352. ? erp_materialdetail 尚未迁移
  353. 依赖表未完全迁移,暂时跳过 boundbatch
  354. 准备迁移表: erp_outmaterialdetail
  355. 检查 erp_outmaterialdetail 的依赖表迁移状态...
  356. ? erp_outboundbill 尚未迁移
  357. ? erp_materialdetail 尚未迁移
  358. 依赖表未完全迁移,暂时跳过 erp_outmaterialdetail
  359. 准备迁移表: erp_materialdetail
  360. 检查 erp_materialdetail 的依赖表迁移状态...
  361. ? erp_inboundbill 尚未迁移
  362. 依赖表未完全迁移,暂时跳过 erp_materialdetail
  363. 准备迁移表: erp_inboundbill
  364. 表 erp_inboundbill 有 89 行数据需要迁移
  365. 使用主键 (billId) 处理冲突
  366. 字段长度限制:
  367. number: 50 字符
  368. erp_audit_id: 1000 字符
  369. date: 50 字符
  370. department: 100 字符
  371. warehouse: 100 字符
  372. creater: 50 字符
  373. erp_save_id: 1000 字符
  374. 成功迁移 89 行数据
  375. 准备迁移表: erp_outboundbill
  376. 表 erp_outboundbill 有 124 行数据需要迁移
  377. 使用主键 (billId) 处理冲突
  378. 字段长度限制:
  379. number: 50 字符
  380. erp_audit_id: 1000 字符
  381. date: 50 字符
  382. department: 10 字符
  383. warehouse: 10 字符
  384. creater: 50 字符
  385. erp_save_id: 1000 字符
  386. 成功迁移 124 行数据
  387. 准备迁移表: flowlist
  388. 表 flowlist 有 189 行数据需要迁移
  389. 使用主键 (id) 处理冲突
  390. 字段长度限制:
  391. iout_type: 255 字符
  392. department: 255 字符
  393. warehouse_code: 20 字符
  394. warehouse_name: 255 字符
  395. goods_code: 255 字符
  396. goods_desc: 255 字符
  397. goods_std: 255 字符
  398. goods_batch: 255 字符
  399. in_batch: 255 字符
  400. out_batch: 255 字符
  401. goods_unit: 255 字符
  402. goods_notes: 255 字符
  403. creator: 255 字符
  404. document_number: 20 字符
  405. document_type: 20 字符
  406. business_type: 20 字符
  407. 成功迁移 189 行数据
  408. 准备迁移表: shelflist
  409. 表 shelflist 为空,跳过
  410. 准备迁移表: materialstatistics
  411. 表 materialstatistics 有 18 行数据需要迁移
  412. 使用主键 (id) 处理冲突
  413. 字段长度限制:
  414. goods_unit: 255 字符
  415. goods_std: 255 字符
  416. goods_code: 255 字符
  417. goods_desc: 255 字符
  418. 成功迁移 18 行数据
  419. 准备迁移表: bigscreen
  420. 表 bigscreen 有 30 行数据需要迁移
  421. 使用主键 (id) 处理冲突
  422. 成功迁移 30 行数据
  423. 准备迁移表: container_list
  424. 表 container_list 有 354 行数据需要迁移
  425. 使用主键 (id) 处理冲突
  426. 字段长度限制:
  427. current_location: 50 字符
  428. target_location: 50 字符
  429. 成功迁移 354 行数据
  430. 本轮迁移后仍有 25 个表未成功迁移
  431. 第 2 轮迁移尝试
  432. 准备迁移表: location_container_link
  433. 检查 location_container_link 的依赖表迁移状态...
  434. ? container_wcs 尚未迁移
  435. ? task 尚未迁移
  436. ✓ location 已迁移
  437. ✓ container_list 已迁移
  438. 依赖表未完全迁移,暂时跳过 location_container_link
  439. 准备迁移表: location_change_log
  440. 检查 location_change_log 的依赖表迁移状态...
  441. ? container_wcs 尚未迁移
  442. ? task 尚未迁移
  443. ✓ location 已迁移
  444. ✓ location 已迁移
  445. ✓ container_list 已迁移
  446. 依赖表未完全迁移,暂时跳过 location_change_log
  447. 准备迁移表: allocation_history
  448. 检查 allocation_history 的依赖表迁移状态...
  449. ? container_wcs 尚未迁移
  450. ? task 尚未迁移
  451. ✓ location 已迁移
  452. ✓ location 已迁移
  453. ✓ container_list 已迁移
  454. 依赖表未完全迁移,暂时跳过 allocation_history
  455. 准备迁移表: task
  456. 检查 task 的依赖表迁移状态...
  457. ? container_wcs 尚未迁移
  458. ? container_detail 尚未迁移
  459. ? bounddetail 尚未迁移
  460. 依赖表未完全迁移,暂时跳过 task
  461. 准备迁移表: bounddetail
  462. 检查 bounddetail 的依赖表迁移状态...
  463. ? boundlist 尚未迁移
  464. ? boundbatch 尚未迁移
  465. 依赖表未完全迁移,暂时跳过 bounddetail
  466. 准备迁移表: Outbounddetail
  467. 检查 Outbounddetail 的依赖表迁移状态...
  468. ? boundlist 尚未迁移
  469. ? boundbatch 尚未迁移
  470. ? outbatch 尚未迁移
  471. 依赖表未完全迁移,暂时跳过 Outbounddetail
  472. 准备迁移表: container_wcs
  473. 检查 container_wcs 的依赖表迁移状态...
  474. ? boundlist 尚未迁移
  475. ? outbatch 尚未迁移
  476. ? boundbatch 尚未迁移
  477. 依赖表未完全迁移,暂时跳过 container_wcs
  478. 准备迁移表: location_group_location_items
  479. 检查 location_group_location_items 的依赖表迁移状态...
  480. ✓ location 已迁移
  481. ✓ location_group 已迁移
  482. 表 location_group_location_items 有 1020 行数据需要迁移
  483. 使用主键 (id) 处理冲突
  484. 成功迁移 1020 行数据
  485. 准备迁移表: device
  486. 检查 device 的依赖表迁移状态...
  487. ✓ location 已迁移
  488. 表 device 有 2 行数据需要迁移
  489. 使用主键 (id) 处理冲突
  490. 字段长度限制:
  491. status: 255 字符
  492. mode: 255 字符
  493. warehouse_code: 255 字符
  494. device_id: 255 字符
  495. device_name: 255 字符
  496. device_type: 255 字符
  497. ip_address: 255 字符
  498. 成功迁移 2 行数据
  499. 准备迁移表: outbatch
  500. 检查 outbatch 的依赖表迁移状态...
  501. ? boundlist 尚未迁移
  502. ? erp_outmaterialdetail 尚未迁移
  503. ? boundbatch 尚未迁移
  504. 依赖表未完全迁移,暂时跳过 outbatch
  505. 准备迁移表: outbounddemand
  506. 检查 outbounddemand 的依赖表迁移状态...
  507. ? boundlist 尚未迁移
  508. 依赖表未完全迁移,暂时跳过 outbounddemand
  509. 准备迁移表: out_batch_detail
  510. 检查 out_batch_detail 的依赖表迁移状态...
  511. ? boundlist 尚未迁移
  512. ? container_detail 尚未迁移
  513. ✓ container_list 已迁移
  514. 依赖表未完全迁移,暂时跳过 out_batch_detail
  515. 准备迁移表: batch_log_from_container_log_detail_logs
  516. 检查 batch_log_from_container_log_detail_logs 的依赖表迁移状态...
  517. ? container_detail_log 尚未迁移
  518. ? batch_log_from_container_log 尚未迁移
  519. 依赖表未完全迁移,暂时跳过 batch_log_from_container_log_detail_logs
  520. 准备迁移表: material_change_history
  521. 检查 material_change_history 的依赖表迁移状态...
  522. ✓ materialstatistics 已迁移
  523. ? batch_log_from_container_log 尚未迁移
  524. 依赖表未完全迁移,暂时跳过 material_change_history
  525. 准备迁移表: batch_log_from_container_log
  526. 检查 batch_log_from_container_log 的依赖表迁移状态...
  527. ? boundlist 尚未迁移
  528. ? boundbatch 尚未迁移
  529. 依赖表未完全迁移,暂时跳过 batch_log_from_container_log
  530. 准备迁移表: boundlist
  531. 检查 boundlist 的依赖表迁移状态...
  532. ✓ erp_outboundbill 已迁移
  533. ✓ erp_inboundbill 已迁移
  534. 表 boundlist 有 260 行数据需要迁移
  535. 使用主键 (id) 处理冲突
  536. 字段长度限制:
  537. openid: 255 字符
  538. bound_status: 255 字符
  539. note: 255 字符
  540. bound_month: 255 字符
  541. creater: 255 字符
  542. bound_code: 255 字符
  543. bound_code_type: 255 字符
  544. bound_bs_type: 255 字符
  545. bound_type: 255 字符
  546. bound_desc: 255 字符
  547. bound_department: 255 字符
  548. 成功迁移 260 行数据
  549. 准备迁移表: erp_inboundbilloperatelog
  550. 检查 erp_inboundbilloperatelog 的依赖表迁移状态...
  551. ✓ erp_inboundbill 已迁移
  552. 表 erp_inboundbilloperatelog 有 253 行数据需要迁移
  553. 使用主键 (id) 处理冲突
  554. 字段长度限制:
  555. log_type: 20 字符
  556. 成功迁移 253 行数据
  557. 准备迁移表: erp_outboundbilloperatelog
  558. 检查 erp_outboundbilloperatelog 的依赖表迁移状态...
  559. ✓ erp_outboundbill 已迁移
  560. 表 erp_outboundbilloperatelog 有 180 行数据需要迁移
  561. 使用主键 (id) 处理冲突
  562. 字段长度限制:
  563. log_type: 20 字符
  564. 成功迁移 180 行数据
  565. 准备迁移表: batchlog
  566. 检查 batchlog 的依赖表迁移状态...
  567. ? boundbatch 尚未迁移
  568. 依赖表未完全迁移,暂时跳过 batchlog
  569. 准备迁移表: container_detail_log
  570. 检查 container_detail_log 的依赖表迁移状态...
  571. ? container_detail 尚未迁移
  572. 依赖表未完全迁移,暂时跳过 container_detail_log
  573. 准备迁移表: container_detail
  574. 检查 container_detail 的依赖表迁移状态...
  575. ✓ container_list 已迁移
  576. ? boundbatch 尚未迁移
  577. 依赖表未完全迁移,暂时跳过 container_detail
  578. 准备迁移表: container_operation
  579. 检查 container_operation 的依赖表迁移状态...
  580. ✓ container_list 已迁移
  581. ? boundbatch 尚未迁移
  582. 依赖表未完全迁移,暂时跳过 container_operation
  583. 准备迁移表: boundbatch
  584. 检查 boundbatch 的依赖表迁移状态...
  585. ? erp_materialdetail 尚未迁移
  586. 依赖表未完全迁移,暂时跳过 boundbatch
  587. 准备迁移表: erp_outmaterialdetail
  588. 检查 erp_outmaterialdetail 的依赖表迁移状态...
  589. ✓ erp_outboundbill 已迁移
  590. ? erp_materialdetail 尚未迁移
  591. 依赖表未完全迁移,暂时跳过 erp_outmaterialdetail
  592. 准备迁移表: erp_materialdetail
  593. 检查 erp_materialdetail 的依赖表迁移状态...
  594. ✓ erp_inboundbill 已迁移
  595. 表 erp_materialdetail 有 130 行数据需要迁移
  596. 使用主键 (id) 处理冲突
  597. 字段长度限制:
  598. material_goods_code: 20 字符
  599. production_batch: 50 字符
  600. goods_code: 20 字符
  601. goods_name: 100 字符
  602. goods_std: 50 字符
  603. goods_unit: 20 字符
  604. material_batch_order: 20 字符
  605. 成功迁移 130 行数据
  606. 本轮迁移后仍有 19 个表未成功迁移
  607. 第 3 轮迁移尝试
  608. 准备迁移表: location_container_link
  609. 检查 location_container_link 的依赖表迁移状态...
  610. ? container_wcs 尚未迁移
  611. ? task 尚未迁移
  612. ✓ location 已迁移
  613. ✓ container_list 已迁移
  614. 依赖表未完全迁移,暂时跳过 location_container_link
  615. 准备迁移表: location_change_log
  616. 检查 location_change_log 的依赖表迁移状态...
  617. ? container_wcs 尚未迁移
  618. ? task 尚未迁移
  619. ✓ location 已迁移
  620. ✓ location 已迁移
  621. ✓ container_list 已迁移
  622. 依赖表未完全迁移,暂时跳过 location_change_log
  623. 准备迁移表: allocation_history
  624. 检查 allocation_history 的依赖表迁移状态...
  625. ? container_wcs 尚未迁移
  626. ? task 尚未迁移
  627. ✓ location 已迁移
  628. ✓ location 已迁移
  629. ✓ container_list 已迁移
  630. 依赖表未完全迁移,暂时跳过 allocation_history
  631. 准备迁移表: task
  632. 检查 task 的依赖表迁移状态...
  633. ? container_wcs 尚未迁移
  634. ? container_detail 尚未迁移
  635. ? bounddetail 尚未迁移
  636. 依赖表未完全迁移,暂时跳过 task
  637. 准备迁移表: bounddetail
  638. 检查 bounddetail 的依赖表迁移状态...
  639. ✓ boundlist 已迁移
  640. ? boundbatch 尚未迁移
  641. 依赖表未完全迁移,暂时跳过 bounddetail
  642. 准备迁移表: Outbounddetail
  643. 检查 Outbounddetail 的依赖表迁移状态...
  644. ✓ boundlist 已迁移
  645. ? boundbatch 尚未迁移
  646. ? outbatch 尚未迁移
  647. 依赖表未完全迁移,暂时跳过 Outbounddetail
  648. 准备迁移表: container_wcs
  649. 检查 container_wcs 的依赖表迁移状态...
  650. ✓ boundlist 已迁移
  651. ? outbatch 尚未迁移
  652. ? boundbatch 尚未迁移
  653. 依赖表未完全迁移,暂时跳过 container_wcs
  654. 准备迁移表: outbatch
  655. 检查 outbatch 的依赖表迁移状态...
  656. ✓ boundlist 已迁移
  657. ? erp_outmaterialdetail 尚未迁移
  658. ? boundbatch 尚未迁移
  659. 依赖表未完全迁移,暂时跳过 outbatch
  660. 准备迁移表: outbounddemand
  661. 检查 outbounddemand 的依赖表迁移状态...
  662. ✓ boundlist 已迁移
  663. 表 outbounddemand 为空,跳过
  664. 准备迁移表: out_batch_detail
  665. 检查 out_batch_detail 的依赖表迁移状态...
  666. ✓ boundlist 已迁移
  667. ? container_detail 尚未迁移
  668. ✓ container_list 已迁移
  669. 依赖表未完全迁移,暂时跳过 out_batch_detail
  670. 准备迁移表: batch_log_from_container_log_detail_logs
  671. 检查 batch_log_from_container_log_detail_logs 的依赖表迁移状态...
  672. ? container_detail_log 尚未迁移
  673. ? batch_log_from_container_log 尚未迁移
  674. 依赖表未完全迁移,暂时跳过 batch_log_from_container_log_detail_logs
  675. 准备迁移表: material_change_history
  676. 检查 material_change_history 的依赖表迁移状态...
  677. ✓ materialstatistics 已迁移
  678. ? batch_log_from_container_log 尚未迁移
  679. 依赖表未完全迁移,暂时跳过 material_change_history
  680. 准备迁移表: batch_log_from_container_log
  681. 检查 batch_log_from_container_log 的依赖表迁移状态...
  682. ✓ boundlist 已迁移
  683. ? boundbatch 尚未迁移
  684. 依赖表未完全迁移,暂时跳过 batch_log_from_container_log
  685. 准备迁移表: batchlog
  686. 检查 batchlog 的依赖表迁移状态...
  687. ? boundbatch 尚未迁移
  688. 依赖表未完全迁移,暂时跳过 batchlog
  689. 准备迁移表: container_detail_log
  690. 检查 container_detail_log 的依赖表迁移状态...
  691. ? container_detail 尚未迁移
  692. 依赖表未完全迁移,暂时跳过 container_detail_log
  693. 准备迁移表: container_detail
  694. 检查 container_detail 的依赖表迁移状态...
  695. ✓ container_list 已迁移
  696. ? boundbatch 尚未迁移
  697. 依赖表未完全迁移,暂时跳过 container_detail
  698. 准备迁移表: container_operation
  699. 检查 container_operation 的依赖表迁移状态...
  700. ✓ container_list 已迁移
  701. ? boundbatch 尚未迁移
  702. 依赖表未完全迁移,暂时跳过 container_operation
  703. 准备迁移表: boundbatch
  704. 检查 boundbatch 的依赖表迁移状态...
  705. ✓ erp_materialdetail 已迁移
  706. 表 boundbatch 有 221 行数据需要迁移
  707. 使用主键 (id) 处理冲突
  708. 字段长度限制:
  709. bound_number: 255 字符
  710. bound_month: 255 字符
  711. goods_package: 255 字符
  712. warehouse_code: 255 字符
  713. warehouse_name: 255 字符
  714. goods_code: 255 字符
  715. goods_desc: 255 字符
  716. goods_std: 255 字符
  717. goods_unit: 255 字符
  718. check_user: 255 字符
  719. note: 255 字符
  720. creater: 255 字符
  721. openid: 255 字符
  722. sourced_number: 255 字符
  723. 成功迁移 221 行数据
  724. 准备迁移表: erp_outmaterialdetail
  725. 检查 erp_outmaterialdetail 的依赖表迁移状态...
  726. ✓ erp_outboundbill 已迁移
  727. ✓ erp_materialdetail 已迁移
  728. 表 erp_outmaterialdetail 有 163 行数据需要迁移
  729. 使用主键 (id) 处理冲突
  730. 字段长度限制:
  731. material_goods_code: 20 字符
  732. production_batch: 50 字符
  733. goods_code: 20 字符
  734. goods_name: 100 字符
  735. goods_unit: 20 字符
  736. material_batch_order: 20 字符
  737. 成功迁移 163 行数据
  738. 本轮迁移后仍有 16 个表未成功迁移
  739. 第 4 轮迁移尝试
  740. 准备迁移表: location_container_link
  741. 检查 location_container_link 的依赖表迁移状态...
  742. ? container_wcs 尚未迁移
  743. ? task 尚未迁移
  744. ✓ location 已迁移
  745. ✓ container_list 已迁移
  746. 依赖表未完全迁移,暂时跳过 location_container_link
  747. 准备迁移表: location_change_log
  748. 检查 location_change_log 的依赖表迁移状态...
  749. ? container_wcs 尚未迁移
  750. ? task 尚未迁移
  751. ✓ location 已迁移
  752. ✓ location 已迁移
  753. ✓ container_list 已迁移
  754. 依赖表未完全迁移,暂时跳过 location_change_log
  755. 准备迁移表: allocation_history
  756. 检查 allocation_history 的依赖表迁移状态...
  757. ? container_wcs 尚未迁移
  758. ? task 尚未迁移
  759. ✓ location 已迁移
  760. ✓ location 已迁移
  761. ✓ container_list 已迁移
  762. 依赖表未完全迁移,暂时跳过 allocation_history
  763. 准备迁移表: task
  764. 检查 task 的依赖表迁移状态...
  765. ? container_wcs 尚未迁移
  766. ? container_detail 尚未迁移
  767. ? bounddetail 尚未迁移
  768. 依赖表未完全迁移,暂时跳过 task
  769. 准备迁移表: bounddetail
  770. 检查 bounddetail 的依赖表迁移状态...
  771. ✓ boundlist 已迁移
  772. ✓ boundbatch 已迁移
  773. 表 bounddetail 有 221 行数据需要迁移
  774. 使用主键 (id) 处理冲突
  775. 字段长度限制:
  776. detail_code: 255 字符
  777. creater: 255 字符
  778. openid: 255 字符
  779. 成功迁移 221 行数据
  780. 准备迁移表: Outbounddetail
  781. 检查 Outbounddetail 的依赖表迁移状态...
  782. ✓ boundlist 已迁移
  783. ✓ boundbatch 已迁移
  784. ? outbatch 尚未迁移
  785. 依赖表未完全迁移,暂时跳过 Outbounddetail
  786. 准备迁移表: container_wcs
  787. 检查 container_wcs 的依赖表迁移状态...
  788. ✓ boundlist 已迁移
  789. ? outbatch 尚未迁移
  790. ✓ boundbatch 已迁移
  791. 依赖表未完全迁移,暂时跳过 container_wcs
  792. 准备迁移表: outbatch
  793. 检查 outbatch 的依赖表迁移状态...
  794. ✓ boundlist 已迁移
  795. ✓ erp_outmaterialdetail 已迁移
  796. ✓ boundbatch 已迁移
  797. 表 outbatch 有 191 行数据需要迁移
  798. 使用主键 (id) 处理冲突
  799. 字段长度限制:
  800. out_number: 255 字符
  801. creater: 255 字符
  802. openid: 255 字符
  803. out_note: 255 字符
  804. warehouse_code: 255 字符
  805. warehouse_name: 255 字符
  806. goods_code: 255 字符
  807. goods_desc: 255 字符
  808. goods_std: 255 字符
  809. goods_unit: 255 字符
  810. 成功迁移 191 行数据
  811. 准备迁移表: out_batch_detail
  812. 检查 out_batch_detail 的依赖表迁移状态...
  813. ✓ boundlist 已迁移
  814. ? container_detail 尚未迁移
  815. ✓ container_list 已迁移
  816. 依赖表未完全迁移,暂时跳过 out_batch_detail
  817. 准备迁移表: batch_log_from_container_log_detail_logs
  818. 检查 batch_log_from_container_log_detail_logs 的依赖表迁移状态...
  819. ? container_detail_log 尚未迁移
  820. ? batch_log_from_container_log 尚未迁移
  821. 依赖表未完全迁移,暂时跳过 batch_log_from_container_log_detail_logs
  822. 准备迁移表: material_change_history
  823. 检查 material_change_history 的依赖表迁移状态...
  824. ✓ materialstatistics 已迁移
  825. ? batch_log_from_container_log 尚未迁移
  826. 依赖表未完全迁移,暂时跳过 material_change_history
  827. 准备迁移表: batch_log_from_container_log
  828. 检查 batch_log_from_container_log 的依赖表迁移状态...
  829. ✓ boundlist 已迁移
  830. ✓ boundbatch 已迁移
  831. 表 batch_log_from_container_log 有 203 行数据需要迁移
  832. 使用主键 (id) 处理冲突
  833. 字段长度限制:
  834. log_type: 20 字符
  835. goods_code: 50 字符
  836. goods_desc: 100 字符
  837. goods_unit: 50 字符
  838. goods_std: 50 字符
  839. 成功迁移 203 行数据
  840. 准备迁移表: batchlog
  841. 检查 batchlog 的依赖表迁移状态...
  842. ✓ boundbatch 已迁移
  843. 表 batchlog 有 2555 行数据需要迁移
  844. 使用主键 (id) 处理冲突
  845. 字段长度限制:
  846. goods_code: 255 字符
  847. goods_desc: 255 字符
  848. openid: 255 字符
  849. log_content: 255 字符
  850. creater: 255 字符
  851. 成功迁移 2555 行数据
  852. 准备迁移表: container_detail_log
  853. 检查 container_detail_log 的依赖表迁移状态...
  854. ? container_detail 尚未迁移
  855. 依赖表未完全迁移,暂时跳过 container_detail_log
  856. 准备迁移表: container_detail
  857. 检查 container_detail 的依赖表迁移状态...
  858. ✓ container_list 已迁移
  859. ✓ boundbatch 已迁移
  860. 表 container_detail 有 7413 行数据需要迁移
  861. 使用主键 (id) 处理冲突
  862. 字段长度限制:
  863. goods_code: 50 字符
  864. goods_desc: 100 字符
  865. creater: 50 字符
  866. 成功迁移 7413 行数据
  867. 准备迁移表: container_operation
  868. 检查 container_operation 的依赖表迁移状态...
  869. ✓ container_list 已迁移
  870. ✓ boundbatch 已迁移
  871. 表 container_operation 有 1534 行数据需要迁移
  872. 使用主键 (id) 处理冲突
  873. 字段长度限制:
  874. operation_type: 20 字符
  875. goods_code: 50 字符
  876. goods_desc: 100 字符
  877. from_location: 50 字符
  878. to_location: 50 字符
  879. operator: 50 字符
  880. 成功迁移 1534 行数据
  881. 本轮迁移后仍有 10 个表未成功迁移
  882. 第 5 轮迁移尝试
  883. 准备迁移表: location_container_link
  884. 检查 location_container_link 的依赖表迁移状态...
  885. ? container_wcs 尚未迁移
  886. ? task 尚未迁移
  887. ✓ location 已迁移
  888. ✓ container_list 已迁移
  889. 依赖表未完全迁移,暂时跳过 location_container_link
  890. 准备迁移表: location_change_log
  891. 检查 location_change_log 的依赖表迁移状态...
  892. ? container_wcs 尚未迁移
  893. ? task 尚未迁移
  894. ✓ location 已迁移
  895. ✓ location 已迁移
  896. ✓ container_list 已迁移
  897. 依赖表未完全迁移,暂时跳过 location_change_log
  898. 准备迁移表: allocation_history
  899. 检查 allocation_history 的依赖表迁移状态...
  900. ? container_wcs 尚未迁移
  901. ? task 尚未迁移
  902. ✓ location 已迁移
  903. ✓ location 已迁移
  904. ✓ container_list 已迁移
  905. 依赖表未完全迁移,暂时跳过 allocation_history
  906. 准备迁移表: task
  907. 检查 task 的依赖表迁移状态...
  908. ? container_wcs 尚未迁移
  909. ✓ container_detail 已迁移
  910. ✓ bounddetail 已迁移
  911. 依赖表未完全迁移,暂时跳过 task
  912. 准备迁移表: Outbounddetail
  913. 检查 Outbounddetail 的依赖表迁移状态...
  914. ✓ boundlist 已迁移
  915. ✓ boundbatch 已迁移
  916. ✓ outbatch 已迁移
  917. 表 Outbounddetail 有 191 行数据需要迁移
  918. 使用主键 (id) 处理冲突
  919. 字段长度限制:
  920. detail_code: 255 字符
  921. creater: 255 字符
  922. openid: 255 字符
  923. 成功迁移 191 行数据
  924. 准备迁移表: container_wcs
  925. 检查 container_wcs 的依赖表迁移状态...
  926. ✓ boundlist 已迁移
  927. ✓ outbatch 已迁移
  928. ✓ boundbatch 已迁移
  929. 表 container_wcs 有 1242 行数据需要迁移
  930. 使用主键 (id) 处理冲突
  931. 字段长度限制:
  932. taskid: 50 字符
  933. tasktype: 50 字符
  934. batch_number: 50 字符
  935. container: 50 字符
  936. current_location: 50 字符
  937. target_location: 50 字符
  938. 成功迁移 1242 行数据
  939. 准备迁移表: out_batch_detail
  940. 检查 out_batch_detail 的依赖表迁移状态...
  941. ✓ boundlist 已迁移
  942. ✓ container_detail 已迁移
  943. ✓ container_list 已迁移
  944. 表 out_batch_detail 有 3686 行数据需要迁移
  945. 使用主键 (id) 处理冲突
  946. 成功迁移 3686 行数据
  947. 准备迁移表: batch_log_from_container_log_detail_logs
  948. 检查 batch_log_from_container_log_detail_logs 的依赖表迁移状态...
  949. ? container_detail_log 尚未迁移
  950. ✓ batch_log_from_container_log 已迁移
  951. 依赖表未完全迁移,暂时跳过 batch_log_from_container_log_detail_logs
  952. 准备迁移表: material_change_history
  953. 检查 material_change_history 的依赖表迁移状态...
  954. ✓ materialstatistics 已迁移
  955. ✓ batch_log_from_container_log 已迁移
  956. 表 material_change_history 有 203 行数据需要迁移
  957. 使用主键 (id) 处理冲突
  958. 字段长度限制:
  959. goods_code: 50 字符
  960. goods_desc: 100 字符
  961. goods_std: 50 字符
  962. goods_unit: 50 字符
  963. change_type: 20 字符
  964. 成功迁移 203 行数据
  965. 准备迁移表: container_detail_log
  966. 检查 container_detail_log 的依赖表迁移状态...
  967. ✓ container_detail 已迁移
  968. 表 container_detail_log 有 10453 行数据需要迁移
  969. 使用主键 (id) 处理冲突
  970. 字段长度限制:
  971. log_type: 20 字符
  972. creater: 50 字符
  973. 成功迁移 10453 行数据
  974. 本轮迁移后仍有 5 个表未成功迁移
  975. 第 6 轮迁移尝试
  976. 准备迁移表: location_container_link
  977. 检查 location_container_link 的依赖表迁移状态...
  978. ✓ container_wcs 已迁移
  979. ? task 尚未迁移
  980. ✓ location 已迁移
  981. ✓ container_list 已迁移
  982. 依赖表未完全迁移,暂时跳过 location_container_link
  983. 准备迁移表: location_change_log
  984. 检查 location_change_log 的依赖表迁移状态...
  985. ✓ container_wcs 已迁移
  986. ? task 尚未迁移
  987. ✓ location 已迁移
  988. ✓ location 已迁移
  989. ✓ container_list 已迁移
  990. 依赖表未完全迁移,暂时跳过 location_change_log
  991. 准备迁移表: allocation_history
  992. 检查 allocation_history 的依赖表迁移状态...
  993. ✓ container_wcs 已迁移
  994. ? task 尚未迁移
  995. ✓ location 已迁移
  996. ✓ location 已迁移
  997. ✓ container_list 已迁移
  998. 依赖表未完全迁移,暂时跳过 allocation_history
  999. 准备迁移表: task
  1000. 检查 task 的依赖表迁移状态...
  1001. ✓ container_wcs 已迁移
  1002. ✓ container_detail 已迁移
  1003. ✓ bounddetail 已迁移
  1004. 表 task 有 18734 行数据需要迁移
  1005. 使用主键 (id) 处理冲突
  1006. 成功迁移 18734 行数据
  1007. 准备迁移表: batch_log_from_container_log_detail_logs
  1008. 检查 batch_log_from_container_log_detail_logs 的依赖表迁移状态...
  1009. ✓ container_detail_log 已迁移
  1010. ✓ batch_log_from_container_log 已迁移
  1011. 表 batch_log_from_container_log_detail_logs 有 4948 行数据需要迁移
  1012. 使用主键 (id) 处理冲突
  1013. 成功迁移 4948 行数据
  1014. 本轮迁移后仍有 3 个表未成功迁移
  1015. 第 7 轮迁移尝试
  1016. 准备迁移表: location_container_link
  1017. 检查 location_container_link 的依赖表迁移状态...
  1018. ✓ container_wcs 已迁移
  1019. ✓ task 已迁移
  1020. ✓ location 已迁移
  1021. ✓ container_list 已迁移
  1022. 表 location_container_link 有 374 行数据需要迁移
  1023. 使用主键 (id) 处理冲突
  1024. 字段长度限制:
  1025. operator: 50 字符
  1026. 成功迁移 374 行数据
  1027. 准备迁移表: location_change_log
  1028. 检查 location_change_log 的依赖表迁移状态...
  1029. ✓ container_wcs 已迁移
  1030. ✓ task 已迁移
  1031. ✓ location 已迁移
  1032. ✓ location 已迁移
  1033. ✓ container_list 已迁移
  1034. 表 location_change_log 为空,跳过
  1035. 准备迁移表: allocation_history
  1036. 检查 allocation_history 的依赖表迁移状态...
  1037. ✓ container_wcs 已迁移
  1038. ✓ task 已迁移
  1039. ✓ location 已迁移
  1040. ✓ location 已迁移
  1041. ✓ container_list 已迁移
  1042. 表 allocation_history 为空,跳过
  1043. 所有表迁移成功!
  1044. 日志文件已保存: migration_log_20250923_132621.txt