Fix EncryptedType error (#5007)

fixes https://github.com/apache/incubator-superset/issues/5005
This commit is contained in:
Maxime Beauchemin 2018-05-16 13:24:51 -05:00 committed by GitHub
parent c2eae96327
commit e72c9cded3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -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():