Files
superset2/superset/migrations/versions/f0fbf6129e13_adding_verbose_name_to_tablecolumn.py
Maxime Beauchemin 15b67b2c6c [WiP] rename project from Caravel to Superset (#1576)
* Change in files

* Renamin files and folders

* cleaning up a single piece of lint

* Removing boat picture from docs

* add superset word mark

* Update rename note in docs

* Fixing images

* Pinning datatables

* Fixing issues with mapbox-gl

* Forgot to rename one file

* Linting

* v0.13.0

* adding pyyaml to dev-reqs
2016-11-09 23:08:22 -08:00

26 lines
493 B
Python

"""Adding verbose_name to tablecolumn
Revision ID: f0fbf6129e13
Revises: c3a8f8611885
Create Date: 2016-05-01 12:21:18.331191
"""
# revision identifiers, used by Alembic.
revision = 'f0fbf6129e13'
down_revision = 'c3a8f8611885'
from alembic import op
import sqlalchemy as sa
def upgrade():
op.add_column(
'table_columns',
sa.Column('verbose_name', sa.String(length=1024),
nullable=True))
def downgrade():
op.drop_column('table_columns', 'verbose_name')