aboutsummaryrefslogtreecommitdiff
path: root/migrations
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-18 19:06:35 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-18 19:06:35 +0100
commit905da99e9584ce25aad0f9e595e819c0d38c8d82 (patch)
treee824cad6bc90c854172e35d16b3ec85d52b0d6f8 /migrations
parentImproved confirm_account view. (diff)
downloadnewspipe-905da99e9584ce25aad0f9e595e819c0d38c8d82.tar.gz
newspipe-905da99e9584ce25aad0f9e595e819c0d38c8d82.tar.bz2
newspipe-905da99e9584ce25aad0f9e595e819c0d38c8d82.zip
fix migration script
Diffstat (limited to 'migrations')
-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