111
This commit is contained in:
32
migrations/versions/256c3a3e91a2_.py
Normal file
32
migrations/versions/256c3a3e91a2_.py
Normal file
@@ -0,0 +1,32 @@
|
||||
"""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 ###
|
||||
Reference in New Issue
Block a user