mirror of
https://github.com/getredash/redash.git
synced 2025-12-19 17:37:19 -05:00
29 lines
746 B
Python
29 lines
746 B
Python
"""empty message
|
|
|
|
Revision ID: 0ec979123ba4
|
|
Revises: e5c7a4e2df4d
|
|
Create Date: 2020-12-23 21:35:32.766354
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
from sqlalchemy.dialects.postgresql import JSON
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '0ec979123ba4'
|
|
down_revision = 'e5c7a4e2df4d'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('dashboards', sa.Column('options', JSON(astext_type=sa.Text()), server_default='{}', nullable=False))
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('dashboards', 'options')
|
|
# ### end Alembic commands ###
|