diff --git a/superset/migrations/versions/6400c588de5e_.py b/superset/migrations/versions/6400c588de5e_.py new file mode 100644 index 0000000000000..f84616b14c3c3 --- /dev/null +++ b/superset/migrations/versions/6400c588de5e_.py @@ -0,0 +1,21 @@ +"""empty message + +Revision ID: 6400c588de5e +Revises: bddc498dd179 +Create Date: 2018-07-13 17:10:00.156708 + +""" + +# revision identifiers, used by Alembic. +revision = '6400c588de5e' +down_revision = 'bddc498dd179' + +from alembic import op +import sqlalchemy as sa + + +def upgrade(): + op.add_column('dbs', sa.Column('allow_csv_upload', sa.Boolean(), nullable=True)) + +def downgrade(): + op.drop_column('dbs', 'allow_csv_upload')