Skip to content

Commit

Permalink
quote hive column names (apache#5368)
Browse files Browse the repository at this point in the history
  • Loading branch information
timifasubaa committed Sep 10, 2018
1 parent e35bfba commit ea7fc46
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions superset/migrations/versions/6400c588de5e_.py
Original file line number Diff line number Diff line change
@@ -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')

0 comments on commit ea7fc46

Please sign in to comment.