potiuk commented on code in PR #30827:
URL: https://github.com/apache/airflow/pull/30827#discussion_r1187826892


##########
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:
   We could do it this way but then - for consistency - we should change it 
everywhere else (because we are doing the same approach in multiple other 
places). I prefer this kind of explicit if actually.



-- 
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]

Reply via email to