Files
asuinventory/migrations/versions/256c3a3e91a2_.py
Your Name c345bc6da5 111
2024-03-13 16:02:02 -04:00

33 lines
797 B
Python

"""empty message
Revision ID: 256c3a3e91a2
Revises: 4f95d12a8352
Create Date: 2024-03-13 16:01:01.559719
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '256c3a3e91a2'
down_revision = '4f95d12a8352'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('oboruds', schema=None) as batch_op:
batch_op.drop_column('somepl')
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('oboruds', schema=None) as batch_op:
batch_op.add_column(sa.Column('somepl', sa.VARCHAR(length=10), nullable=True))
# ### end Alembic commands ###