35 lines
946 B
Python
35 lines
946 B
Python
"""empty message
|
|
|
|
Revision ID: be7c94c549e5
|
|
Revises: 8e838956713f
|
|
Create Date: 2024-04-01 15:09:52.082987
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = 'be7c94c549e5'
|
|
down_revision = '8e838956713f'
|
|
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('balancenumber', sa.String(length=30), nullable=True))
|
|
batch_op.drop_column('typeBalanse')
|
|
|
|
# ### 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('typeBalanse', sa.VARCHAR(length=30), nullable=True))
|
|
batch_op.drop_column('balancenumber')
|
|
|
|
# ### end Alembic commands ###
|