27 lines
630 B
Python
27 lines
630 B
Python
"""init
|
|
|
|
Revision ID: a632e375e7dc
|
|
Revises:
|
|
Create Date: 2023-01-21 11:25:48.517435
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = 'a632e375e7dc'
|
|
down_revision = None
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('entries', 'author')
|
|
# ### end Alembic commands ###
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('entries', sa.Column('author', sa.VARCHAR(length=50), nullable=True))
|
|
# ### end Alembic commands ###
|