mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-26 19:04:36 +08:00
10 lines
283 B
SQL
10 lines
283 B
SQL
-- 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;
|