jens-scheffler-bosch commented on code in PR #30827:
URL: https://github.com/apache/airflow/pull/30827#discussion_r1182451844


##########
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:
   Using a bried look ad SQLAlchemy docs, would 
https://docs.sqlalchemy.org/en/20/core/constraints.html#sqlalchemy.schema.Constraint.dialect_options
 help in this area? (=dialect_options) to have this specific condition in 
postgres only?



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