aboutsummaryrefslogtreecommitdiff
path: root/migrations/versions
diff options
context:
space:
mode:
Diffstat (limited to 'migrations/versions')
-rw-r--r--migrations/versions/ac35c979311a_removed_activation_key_from_the_user_.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/migrations/versions/ac35c979311a_removed_activation_key_from_the_user_.py b/migrations/versions/ac35c979311a_removed_activation_key_from_the_user_.py
index deeb6037..446f9d2f 100644
--- a/migrations/versions/ac35c979311a_removed_activation_key_from_the_user_.py
+++ b/migrations/versions/ac35c979311a_removed_activation_key_from_the_user_.py
@@ -18,8 +18,7 @@ import sqlalchemy as sa
def upgrade():
op.drop_column('user', 'activation_key')
- op.add_column('user', sa.Column('enabled', sa.Boolean(), nullable=False,
- default=False))
+ op.add_column('user', sa.Column('enabled', sa.Boolean(), default=False))
def downgrade():
bgstack15