mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-18 13:40:31 -04:00
Store anticipated volumes as integers
This will make it easier to do analysis on the data. Almost all users are submitting data in a numerical format now anyway, because we ask the question in a sensible way.
This commit is contained in:
@@ -22,7 +22,7 @@ TABLES_AND_CHANNELS = product(
|
||||
|
||||
def upgrade():
|
||||
for table, channel in TABLES_AND_CHANNELS:
|
||||
op.add_column(table, sa.Column(channel, sa.String(length=255), nullable=True))
|
||||
op.add_column(table, sa.Column(channel, sa.Integer(), nullable=True))
|
||||
|
||||
|
||||
def downgrade():
|
||||
|
||||
Reference in New Issue
Block a user