Repository: incubator-airflow Updated Branches: refs/heads/v1-10-test b5ba06dd5 -> d8869a261
[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/d8869a26 Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/d8869a26 Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/d8869a26 Branch: refs/heads/v1-10-test Commit: d8869a2610cc71d72d89e23a989c1050b4d8824e Parents: b5ba06d 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:35 2018 +0200 ---------------------------------------------------------------------- airflow/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/d8869a26/airflow/models.py ---------------------------------------------------------------------- diff --git a/airflow/models.py b/airflow/models.py index cb0165a..bf79f94 100755 --- a/airflow/models.py +++ b/airflow/models.py @@ -4469,7 +4469,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
