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


##########
airflow/models/dagcode.py:
##########
@@ -54,11 +56,12 @@ class DagCode(Base):
 
     __tablename__ = "dag_code"
     id = Column(UUIDType(binary=False), primary_key=True, default=uuid6.uuid7)
-    fileloc_hash = Column(BigInteger, nullable=False)
+    dag_id = Column(String(ID_LEN), nullable=False)

Review Comment:
   I don't fully understand, but I added the dag_id to make it easy to query. 
Currently, the REST API goes through the dag version before getting the latest 
dagcode. Do you mean I should have left the fileloc_hash?



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