2017-06-05 05:32:13 +02:00
|
|
|
"""Added CSS Variables Column
|
|
|
|
|
|
|
|
Revision ID: 058f970b85db
|
2017-09-07 23:47:58 +02:00
|
|
|
Revises: dadcb876cdd9
|
2017-06-05 05:32:13 +02:00
|
|
|
Create Date: 2017-06-04 22:51:34.297399
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
|
|
revision = '058f970b85db'
|
2017-09-07 23:47:58 +02:00
|
|
|
down_revision = 'dadcb876cdd9'
|
2017-06-05 05:32:13 +02:00
|
|
|
branch_labels = None
|
|
|
|
depends_on = None
|
|
|
|
|
|
|
|
from alembic import op
|
|
|
|
import sqlalchemy as sa
|
|
|
|
|
|
|
|
|
|
|
|
def upgrade():
|
|
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
|
|
op.add_column('user_css', sa.Column('css_variables', sa.Text(), nullable=True))
|
|
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
|
|
|
|
|
|
def downgrade():
|
|
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
|
|
op.drop_column('user_css', 'css_variables')
|
|
|
|
# ### end Alembic commands ###
|