Files
cao_sunyata/cao_blogr/alembic/versions/20220510_a35fa375a82f.py
2022-05-10 21:29:32 +02:00

27 lines
639 B
Python

"""init
Revision ID: a35fa375a82f
Revises:
Create Date: 2022-05-10 08:28:42.146580
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'a35fa375a82f'
down_revision = None
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('topics', sa.Column('topic_quote', sa.Unicode(length=255), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('topics', 'topic_quote')
# ### end Alembic commands ###