superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject [incubator-superset] branch update-annotation-model updated: change to Text
Date Mon, 27 Aug 2018 21:24:08 GMT
This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch update-annotation-model
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/update-annotation-model by this push:
     new 770af9a  change to Text
770af9a is described below

commit 770af9a78c7baded19d17bada5d45e51705d635d
Author: Hugh Miles <hmiles@lyft.com>
AuthorDate: Mon Aug 27 14:22:51 2018 -0700

    change to Text
---
 superset/models/annotations.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/models/annotations.py b/superset/models/annotations.py
index 1543023..e1cc9a2 100644
--- a/superset/models/annotations.py
+++ b/superset/models/annotations.py
@@ -42,7 +42,7 @@ class Annotation(Model, AuditMixinNullable):
     layer = relationship(
         AnnotationLayer,
         backref='annotation')
-    annotation_metadata = Column(JSON)
+    annotation_metadata = Column(Text)
 
     __table_args__ = (
         Index('ti_dag_state', layer_id, start_dttm, end_dttm),


Mime
View raw message