You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2018/08/27 21:28:36 UTC

[incubator-superset] branch update-annotation-model updated (770af9a -> cf017aa)

This is an automated email from the ASF dual-hosted git repository.

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


    from 770af9a  change to Text
     new b23cfd3  remove old migration file
     new cf017aa  add migration file

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ...> 40a0a483dd12_add_metadata_column_to_annotation_model_.py} | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
 rename superset/migrations/versions/{0a9ffc0777c9_add_json_column_to_annotation_model_py.py => 40a0a483dd12_add_metadata_column_to_annotation_model_.py} (58%)


[incubator-superset] 02/02: add migration file

Posted by hu...@apache.org.
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

commit cf017aa1a5865890655e0b91c8bc776a59e3f545
Author: Hugh Miles <hm...@lyft.com>
AuthorDate: Mon Aug 27 14:28:20 2018 -0700

    add migration file
---
 ...483dd12_add_metadata_column_to_annotation_model_.py | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/superset/migrations/versions/40a0a483dd12_add_metadata_column_to_annotation_model_.py b/superset/migrations/versions/40a0a483dd12_add_metadata_column_to_annotation_model_.py
new file mode 100644
index 0000000..cb24afb
--- /dev/null
+++ b/superset/migrations/versions/40a0a483dd12_add_metadata_column_to_annotation_model_.py
@@ -0,0 +1,18 @@
+"""add_metadata_column_to_annotation_model.py
+
+Revision ID: 40a0a483dd12
+Revises: 1a1d627ebd8e
+Create Date: 2018-08-27 14:25:28.079119
+
+"""
+
+# revision identifiers, used by Alembic.
+revision = '40a0a483dd12'
+down_revision = '1a1d627ebd8e'
+
+from alembic import op
+import sqlalchemy as sa
+
+
+def upgrade():
+    op.add_column('annotation', sa.Column('annotation_metadata', sa.Text(), nullable=True))


[incubator-superset] 01/02: remove old migration file

Posted by hu...@apache.org.
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

commit b23cfd3a4787203b7c42e8ee124964935dec16e1
Author: Hugh Miles <hm...@lyft.com>
AuthorDate: Mon Aug 27 14:25:17 2018 -0700

    remove old migration file
---
 ...ffc0777c9_add_json_column_to_annotation_model_py.py | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/superset/migrations/versions/0a9ffc0777c9_add_json_column_to_annotation_model_py.py b/superset/migrations/versions/0a9ffc0777c9_add_json_column_to_annotation_model_py.py
deleted file mode 100644
index 35d8336..0000000
--- a/superset/migrations/versions/0a9ffc0777c9_add_json_column_to_annotation_model_py.py
+++ /dev/null
@@ -1,18 +0,0 @@
-"""add_json_column_to_annotation_model.py
-
-Revision ID: 0a9ffc0777c9
-Revises: 1a1d627ebd8e
-Create Date: 2018-08-27 14:02:00.101734
-
-"""
-
-# revision identifiers, used by Alembic.
-revision = '0a9ffc0777c9'
-down_revision = '1a1d627ebd8e'
-
-from alembic import op
-import sqlalchemy as sa
-
-
-def upgrade():
-    op.add_column('annotation', sa.Column('annotation_metadata', sa.JSON(), nullable=True))