Skip to content

Commit

Permalink
Yes another migration
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 committed Jan 14, 2025
1 parent 5afb54b commit e0de79e
Showing 1 changed file with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
"""empty message
Revision ID: 2bf752a59955
Revises: a8c7fe27f821
Create Date: 2025-01-14 10:25:25.521509
"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
# Note you may see foreign keys with distribution_codes_history
# For disbursement_distribution_code_id, service_fee_distribution_code_id
# Please ignore those lines and don't include in migration.

revision = '2bf752a59955'
down_revision = 'a8c7fe27f821'
branch_labels = None
depends_on = None


def upgrade():
op.execute("""
UPDATE corp_types
SET payment_methods = ARRAY['PAD', 'DIRECT_PAY', 'INTERNAL']
WHERE product = 'STRR'
""")

def downgrade():
pass

0 comments on commit e0de79e

Please sign in to comment.