ephraimbuddy commented on code in PR #47592:
URL: https://github.com/apache/airflow/pull/47592#discussion_r2094121926


##########
airflow-core/src/airflow/models/dagbundle.py:
##########
@@ -36,7 +36,7 @@ class DagBundleModel(Base):
     """
 
     __tablename__ = "dag_bundle"
-    name = Column(StringID(), primary_key=True)
+    name = Column(StringID(), primary_key=True, nullable=False)

Review Comment:
   You need to also migrate this change. I think that's what's causing the 
error you got. dag_bundle.name is nullable but dag.bundle_name is not nullable 
so both columns are not compatible to be used as FK



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to