forked from DigiFi/digifi-BankToProductCore
1795db35be
This reverts commit 8bb5ce69e2.
33 lines
798 B
Python
33 lines
798 B
Python
"""empty message
|
|
|
|
Revision ID: b3a5e10bc77e
|
|
Revises: e8dd9b841ad7
|
|
Create Date: 2025-05-27 01:52:48.538333
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = 'b3a5e10bc77e'
|
|
down_revision = 'e8dd9b841ad7'
|
|
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('reference', sa.String(length=50), 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('reference')
|
|
|
|
# ### end Alembic commands ###
|