forked from DigiFi/digifi-BankToProductCore
46 lines
1.1 KiB
Python
46 lines
1.1 KiB
Python
"""empty message
|
|
|
|
Revision ID: 30b45df851fa
|
|
Revises: d59bfb9ead82
|
|
Create Date: 2025-08-26 13:48:27.458593
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '30b45df851fa'
|
|
down_revision = 'd59bfb9ead82'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column(
|
|
'loan_repayment_schedules',
|
|
sa.Column('paid_status', sa.String(length=20), nullable=True),
|
|
)
|
|
|
|
op.add_column(
|
|
'loan_repayment_schedules',
|
|
sa.Column('repay_description', sa.String(length=255), nullable=True),
|
|
)
|
|
|
|
|
|
op.add_column(
|
|
'loan_repayment_schedules',
|
|
sa.Column('partial_balance', sa.Float(), nullable=True),
|
|
)
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('loan_repayment_schedules', 'partial_balance')
|
|
op.drop_column('loan_repayment_schedules', 'repay_description')
|
|
op.drop_column('loan_repayment_schedules', 'paid_status')
|
|
|
|
# ### end Alembic commands ###
|