1
0
Files
digifi-BankToProductCore/migrations/versions/48c62b4da905_.py
T
2025-06-23 11:13:40 +01:00

33 lines
784 B
Python

"""empty message
Revision ID: 48c62b4da905
Revises: 7a0caf83d5be
Create Date: 2025-06-23 11:08:22.928700
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '48c62b4da905'
down_revision = '7a0caf83d5be'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('loans', schema=None) as batch_op:
batch_op.add_column(sa.Column('balance', sa.Float(), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('loans', schema=None) as batch_op:
batch_op.drop_column('balance')
# ### end Alembic commands ###