diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-02-18 19:06:35 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-02-18 19:06:35 +0100 |
commit | 905da99e9584ce25aad0f9e595e819c0d38c8d82 (patch) | |
tree | e824cad6bc90c854172e35d16b3ec85d52b0d6f8 /migrations | |
parent | Improved confirm_account view. (diff) | |
download | newspipe-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_.py | 3 |
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(): |