Skip to content

Commit 850f0d3

Browse files
authored
Set PRODUCT for BTR so queue messages may flow (#1898)
1 parent 6d43ff6 commit 850f0d3

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
"""Update BTR Product
2+
3+
Revision ID: dd1ed43ad732
4+
Revises: 3103082f36d5
5+
Create Date: 2025-02-11 05:50:13.255651
6+
7+
"""
8+
from alembic import op
9+
import sqlalchemy as sa
10+
11+
12+
# revision identifiers, used by Alembic.
13+
# Note you may see foreign keys with distribution_codes_history
14+
# For disbursement_distribution_code_id, service_fee_distribution_code_id
15+
# Please ignore those lines and don't include in migration.
16+
17+
revision = 'dd1ed43ad732'
18+
down_revision = '3103082f36d5'
19+
branch_labels = None
20+
depends_on = None
21+
22+
23+
def upgrade():
24+
op.execute("""
25+
UPDATE corp_types
26+
SET product = 'BTR'
27+
WHERE code = 'BTR'
28+
""")
29+
pass
30+
31+
32+
def downgrade():
33+
pass

0 commit comments

Comments
 (0)