AutomationDev85 commented on code in PR #30827:
URL: https://github.com/apache/airflow/pull/30827#discussion_r1176256604
##########
airflow/models/dagrun.py:
##########
@@ -143,6 +143,15 @@ class DagRun(Base, LoggingMixin):
UniqueConstraint("dag_id", "execution_date",
name="dag_run_dag_id_execution_date_key"),
UniqueConstraint("dag_id", "run_id", name="dag_run_dag_id_run_id_key"),
Index("idx_last_scheduling_decision", last_scheduling_decision),
+ Index(
Review Comment:
Thanks for your feedback! I moved the Index away from the dagrun.py because
then the auto migration failes on the sqllite because not supports NULLS FIRST.
Added the Index now only into the migration if not sqllite. Is this the way to
go or did i missed something here?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]