- Fix functionality
last_scheduler_run was missed in the process of
migrating from sync_to_db/bulk_sync_to_db to bulk_write_to_db.
This issue will fail DAG.deactivate_stale_dags() method,
and blocks users from checking the last schedule time of each DAG in DB
- Change name last_scheduler_run to last_parsed_time,
to better reflect what it does now.
Migration script is added, and codebase is updated
- To ensure the migration scripts can work,
we have to limit the columns needed in create_dag_specific_permissions(),
so migration 2c6edca13270 can work with the renamed column.
Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>
(cherry picked from commit c2a0cb9588)