From 905da99e9584ce25aad0f9e595e819c0d38c8d82 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Thu, 18 Feb 2016 19:06:35 +0100 Subject: fix migration script --- .../versions/ac35c979311a_removed_activation_key_from_the_user_.py | 3 +-- 1 file changed, 1 insertion(+), 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(): -- cgit