added status to blog post

This commit is contained in:
2022-05-18 14:38:30 +02:00
parent 7fa1595f0a
commit 62371401c5
9 changed files with 85 additions and 28 deletions

View File

@@ -0,0 +1,26 @@
"""init
Revision ID: 6da5ee6785ff
Revises: a35fa375a82f
Create Date: 2022-05-18 10:33:38.599975
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '6da5ee6785ff'
down_revision = 'a35fa375a82f'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('entries', sa.Column('status', sa.Unicode(length=50), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('entries', 'status')
# ### end Alembic commands ###