Skip to content

Commit

Permalink
Fix EncryptedType error (apache#5007)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch authored May 16, 2018
1 parent 7bddad1 commit 6c49385
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@
"""

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(
'dbs',
sa.Column(
'password',
EncryptedType(sa.String(1024)),
nullable=True))
nullable=True))


def downgrade():
Expand Down

0 comments on commit 6c49385

Please sign in to comment.