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

33 lines
796 B
Python

"""empty message
Revision ID: 4f95d12a8352
Revises: 50f85881169e
Create Date: 2024-03-13 15:57:33.119683
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '4f95d12a8352'
down_revision = '50f85881169e'
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.add_column(sa.Column('somepl', sa.String(length=10), nullable=True))
# ### 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.drop_column('somepl')
# ### end Alembic commands ###