fix migration

This commit is contained in:
Son NK 2019-11-14 15:22:32 +01:00
parent 6420def974
commit 48138bb1e6
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ def upgrade():
sa.Column('event_time', sqlalchemy_utils.types.arrow.ArrowType(), nullable=False),
sa.Column('next_bill_date', sa.Date(), nullable=False),
sa.Column('cancelled', sa.Boolean(), nullable=False),
sa.Column('plan', sa.Enum('monthly', 'yearly', name='planenum'), nullable=False),
sa.Column('plan', sa.Enum('monthly', 'yearly', name='planenum2'), nullable=False),
sa.Column('user_id', sa.Integer(), nullable=False),
sa.ForeignKeyConstraint(['user_id'], ['users.id'], ondelete='cascade'),
sa.PrimaryKeyConstraint('id'),