mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 21:07:58 +08:00
feat(router): separate straight through algorithm in separate column in payment attempt (#863)
This commit is contained in:
@ -0,0 +1,9 @@
|
||||
-- This file should undo anything in `up.sql`
|
||||
ALTER TABLE payment_attempt
|
||||
ALTER COLUMN connector TYPE JSONB
|
||||
USING jsonb_build_object(
|
||||
'routed_through', connector,
|
||||
'algorithm', straight_through_algorithm
|
||||
);
|
||||
|
||||
ALTER TABLE payment_attempt DROP COLUMN straight_through_algorithm;
|
||||
Reference in New Issue
Block a user