# \#migration

**URL:** https://discuss.dataengineercafe.io/tag/migration/3.md

[Latest](https://discuss.dataengineercafe.io/latest.md) · [Categories](https://discuss.dataengineercafe.io/categories.md) · [Tags](https://discuss.dataengineercafe.io/tags.md)

---

## [ใช้ SQL สำหรับแก้ปัญหาตอนรัน Airflow Migration หลังจากอัพเกรดเวอร์ชั่น](https://discuss.dataengineercafe.io/t/sql-airflow-migration/11)

<div class="topic-metadata">

**Author:** [@zkan](https://discuss.dataengineercafe.io/u/zkan)\
**Replies:** 0\
**Last updated:** [November 11, 2021, 10:16am UTC](https://discuss.dataengineercafe.io/t/sql-airflow-migration/11 "2021-11-11T10:16:02Z")

</div>

ตอนที่เปลี่ยนมาเป็น Airflow เวอร์ชั่น 2.2.0 แล้ว ตัว migration รันแล้วเจอ error แบบนี้ \[2021-10-11 19:21:13,069\] {db.py:817} ERROR - The task\_instance table has 53 rows without a corresponding dag\_run row. You must manu…
