You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.1 KiB
38 lines
1.1 KiB
"""More Refund features
|
|
|
|
Revision ID: 8929cc43ea50
|
|
Revises: 1af0e892bd5d
|
|
Create Date: 2025-08-27 18:50:27.562565
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '8929cc43ea50'
|
|
down_revision = '1af0e892bd5d'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
with op.batch_alter_table('Payments', schema=None) as batch_op:
|
|
batch_op.add_column(sa.Column('Refund_FollowUp', sa.Boolean(), nullable=True))
|
|
|
|
with op.batch_alter_table('SinglePayments', schema=None) as batch_op:
|
|
batch_op.add_column(sa.Column('Refund_FollowUp', sa.Boolean(), nullable=True))
|
|
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
with op.batch_alter_table('SinglePayments', schema=None) as batch_op:
|
|
batch_op.drop_column('Refund_FollowUp')
|
|
|
|
with op.batch_alter_table('Payments', schema=None) as batch_op:
|
|
batch_op.drop_column('Refund_FollowUp')
|
|
|
|
# ### end Alembic commands ###
|
|
|