Skip to content

Commit

Permalink
Kill partner disbursements migration for now
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 committed Jul 17, 2024
1 parent 0f51989 commit 708d28a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion pay-api/migrations/versions/2024_07_17_112056b8b755_.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ def upgrade():


def downgrade():
op.drop_table('partner_disbursements')
with op.batch_alter_table('invoices', schema=None) as batch_op:
batch_op.drop_column('disbursement_reversal_date')
2 changes: 2 additions & 0 deletions pay-api/src/pay_api/models/partner_disbursements.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
from .db import db



# TODO requires migration, handle in disbursement ticket
class PartnerDisbursements(BaseModel): # pylint: disable=too-many-instance-attributes
"""This class manages the partner disbursements that should be executed."""

Expand Down

0 comments on commit 708d28a

Please sign in to comment.