From 6c25f549384d7c2fc288451222e50493a7b14104 Mon Sep 17 00:00:00 2001 From: Hugh Miles Date: Mon, 27 Aug 2018 13:59:46 -0700 Subject: [PATCH] add column to annotation model --- superset/models/annotations.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/superset/models/annotations.py b/superset/models/annotations.py index 82619fdd49543..1543023b92275 100644 --- a/superset/models/annotations.py +++ b/superset/models/annotations.py @@ -8,7 +8,7 @@ from flask_appbuilder import Model from sqlalchemy import ( - Column, DateTime, ForeignKey, Index, Integer, String, Text, + Column, DateTime, ForeignKey, Index, Integer, String, Text, JSON ) from sqlalchemy.orm import relationship @@ -42,6 +42,7 @@ class Annotation(Model, AuditMixinNullable): layer = relationship( AnnotationLayer, backref='annotation') + annotation_metadata = Column(JSON) __table_args__ = ( Index('ti_dag_state', layer_id, start_dttm, end_dttm),