initial upload
This commit is contained in:
26
cao_blogr/alembic/versions/20220419_bbacde35234d.py
Normal file
26
cao_blogr/alembic/versions/20220419_bbacde35234d.py
Normal file
@@ -0,0 +1,26 @@
|
||||
"""init
|
||||
|
||||
Revision ID: bbacde35234d
|
||||
Revises: e7889eab89c0
|
||||
Create Date: 2022-04-19 17:09:50.728285
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'bbacde35234d'
|
||||
down_revision = 'e7889eab89c0'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('entries', sa.Column('body_html', sa.UnicodeText(), nullable=True))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
def downgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column('entries', 'body_html')
|
||||
# ### end Alembic commands ###
|
||||
Reference in New Issue
Block a user