mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
Update annotation model to have JSON Metadata field (#5745)
* add column to annotation model * update migration file * change to Text * remove old migration file * add migration file * remove JSON * add new column to view * add comma back * linting * lint some more * missing comma * rename columns * add degrade and new migration file * update version * fixe changed name * remove json from list columns
This commit is contained in:
@@ -42,6 +42,7 @@ class Annotation(Model, AuditMixinNullable):
|
||||
layer = relationship(
|
||||
AnnotationLayer,
|
||||
backref='annotation')
|
||||
json_metadata = Column(Text)
|
||||
|
||||
__table_args__ = (
|
||||
Index('ti_dag_state', layer_id, start_dttm, end_dttm),
|
||||
|
||||
Reference in New Issue
Block a user