add raspologenie in db schema

This commit is contained in:
Your Name
2024-03-13 22:36:05 +03:00
parent 2da2956358
commit da82c8fe74
2 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
"""empty message
Revision ID: 873defe09f22
Revises: ec6bbcd361bd
Create Date: 2024-03-13 22:34:36.718676
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '873defe09f22'
down_revision = 'ec6bbcd361bd'
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('raspologenie', sa.String(length=200), 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('raspologenie')
# ### end Alembic commands ###