ashb commented on code in PR #24044:
URL: https://github.com/apache/airflow/pull/24044#discussion_r896555321


##########
airflow/models/trigger.py:
##########
@@ -52,7 +52,7 @@ class Trigger(Base):
     id = Column(Integer, primary_key=True)
     classpath = Column(String(1000), nullable=False)
     kwargs = Column(ExtendedJSON, nullable=False)
-    created_date = Column(UtcDateTime, nullable=False)
+    created_date = Column(DateTime, nullable=False)  # DateTime without 
timezone

Review Comment:
   Actually no, thinking a bit more about it: the model type was right, it was 
the DB that was wrong, so we should fix the DB in this PR for this case.



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