27 lines
652 B
Python
27 lines
652 B
Python
"""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 ###
|