35 lines
934 B
Python
35 lines
934 B
Python
"""empty message
|
|
|
|
Revision ID: 6fc3d1adb061
|
|
Revises: be7c94c549e5
|
|
Create Date: 2024-04-02 16:32:23.180273
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '6fc3d1adb061'
|
|
down_revision = 'be7c94c549e5'
|
|
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('buhnumberpp', sa.String(length=100), nullable=True))
|
|
batch_op.add_column(sa.Column('kolichestvo', sa.Integer(), 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('kolichestvo')
|
|
batch_op.drop_column('buhnumberpp')
|
|
|
|
# ### end Alembic commands ###
|