Repository: incubator-airflow
Updated Branches:
  refs/heads/v1-10-stable 3b8c4ff7a -> 3b7e71f82


[AIRFLOW-2810] Fix typo in Xcom model timestamp

Fix typo in Xcom model timestamp field

No new testing - the field is already represented
in migrations

Closes #3652 from andywilco/fix_datetime_typo

(cherry picked from commit a338f3276835af45765d24a6e6d43ad4ba4d66ba)
Signed-off-by: Bolke de Bruin <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/3b7e71f8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/3b7e71f8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/3b7e71f8

Branch: refs/heads/v1-10-stable
Commit: 3b7e71f820bd312f2013d41eb7b2f9486a532036
Parents: 3b8c4ff
Author: Andy Wilcox <[email protected]>
Authored: Fri Jul 27 13:03:30 2018 -0400
Committer: Bolke de Bruin <[email protected]>
Committed: Sat Jul 28 13:00:57 2018 +0200

----------------------------------------------------------------------
 airflow/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/3b7e71f8/airflow/models.py
----------------------------------------------------------------------
diff --git a/airflow/models.py b/airflow/models.py
index 6b244cd..b789fd1 100755
--- a/airflow/models.py
+++ b/airflow/models.py
@@ -4470,7 +4470,7 @@ class XCom(Base, LoggingMixin):
     key = Column(String(512))
     value = Column(LargeBinary)
     timestamp = Column(
-        DateTime, default=timezone.utcnow, nullable=False)
+        UtcDateTime, default=timezone.utcnow, nullable=False)
     execution_date = Column(UtcDateTime, nullable=False)
 
     # source information

Reply via email to