Skip to content

Commit

Permalink
Fix EncryptedType error (#5007)
Browse files Browse the repository at this point in the history
fixes #5005

(cherry picked from commit e72c9cd)
  • Loading branch information
mistercrunch committed May 16, 2018
1 parent b73f0d2 commit 32689ad
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 32689ad

Please sign in to comment.