added topic_edit.jinja2
This commit is contained in:
26
cao_blogr/alembic/versions/20220510_a35fa375a82f.py
Normal file
26
cao_blogr/alembic/versions/20220510_a35fa375a82f.py
Normal file
@@ -0,0 +1,26 @@
|
||||
"""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 ###
|
||||
Reference in New Issue
Block a user