mirror of
https://github.com/apache/superset.git
synced 2026-04-17 23:25:05 +00:00
* 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
27 lines
489 B
Python
27 lines
489 B
Python
"""allow_dml
|
|
|
|
Revision ID: 65903709c321
|
|
Revises: 4500485bde7d
|
|
Create Date: 2016-09-15 08:48:27.284752
|
|
|
|
"""
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '65903709c321'
|
|
down_revision = '4500485bde7d'
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
def upgrade():
|
|
op.add_column('dbs', sa.Column('allow_dml', sa.Boolean(), nullable=True))
|
|
|
|
|
|
def downgrade():
|
|
try:
|
|
op.drop_column('dbs', 'allow_dml')
|
|
except Exception as e:
|
|
logging.exception(e)
|
|
pass
|