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:
Chris Hill-Scott
2019-02-14 11:32:50 +00:00
parent 17e32fa5f6
commit ecdf076506
3 changed files with 12 additions and 9 deletions

View File

@@ -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():