You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2018/05/16 18:24:59 UTC

[incubator-superset] branch master updated: Fix EncryptedType error (#5007)

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

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new e72c9cd  Fix EncryptedType error (#5007)
e72c9cd is described below

commit e72c9cded37f7e1b6eaf3c5192249f5d08ce5ce4
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Wed May 16 13:24:51 2018 -0500

    Fix EncryptedType error (#5007)
    
    fixes https://github.com/apache/incubator-superset/issues/5005
---
 .../versions/289ce07647b_add_encrypted_password_field.py       | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/superset/migrations/versions/289ce07647b_add_encrypted_password_field.py b/superset/migrations/versions/289ce07647b_add_encrypted_password_field.py
index 027a255..56fa53a 100644
--- a/superset/migrations/versions/289ce07647b_add_encrypted_password_field.py
+++ b/superset/migrations/versions/289ce07647b_add_encrypted_password_field.py
@@ -7,14 +7,14 @@ Create Date: 2015-11-21 11:18:00.650587
 
 """
 
+from alembic import op
+import sqlalchemy as sa
+from sqlalchemy_utils  import EncryptedType
+
 # revision identifiers, used by Alembic.
 revision = '289ce07647b'
 down_revision = '2929af7925ed'
 
-from alembic import op
-import sqlalchemy as sa
-from sqlalchemy_utils.types.encrypted import EncryptedType
-
 
 def upgrade():
     op.add_column(
@@ -22,7 +22,7 @@ def upgrade():
         sa.Column(
             'password',
             EncryptedType(sa.String(1024)),
-        nullable=True))
+            nullable=True))
 
 
 def downgrade():

-- 
To stop receiving notification emails like this one, please contact
maximebeauchemin@apache.org.