mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
make columns nullable
This commit is contained in:
@@ -16,6 +16,8 @@ revision = '0112_add_start_end_dates'
|
||||
|
||||
def upgrade():
|
||||
op.drop_index('uix_monthly_billing', 'monthly_billing')
|
||||
op.alter_column('monthly_billing', 'month', nullable=True)
|
||||
op.alter_column('monthly_billing', 'year', nullable=True)
|
||||
op.add_column('monthly_billing', sa.Column('start_date', sa.DateTime))
|
||||
op.add_column('monthly_billing', sa.Column('end_date', sa.DateTime))
|
||||
conn = op.get_bind()
|
||||
|
||||
Reference in New Issue
Block a user