Titan/webapp/alembic/versions/058f970b85db_added_css_variables_column.py

29 lines
665 B
Python
Raw Normal View History

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! ###
2017-09-08 01:35:34 +02:00
op.add_column('user_css', sa.Column('css_variables', sa.Text()))
2017-06-05 05:32:13 +02:00
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('user_css', 'css_variables')
# ### end Alembic commands ###