mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
12 lines
366 B
SQL
12 lines
366 B
SQL
-- This file should undo anything in `up.sql`
|
|
CREATE TYPE "RoutingAlgorithm" AS ENUM (
|
|
'round_robin',
|
|
'max_conversion',
|
|
'min_cost',
|
|
'custom'
|
|
);
|
|
|
|
ALTER TABLE merchant_account DROP COLUMN routing_algorithm;
|
|
ALTER TABLE merchant_account ADD COLUMN custom_routing_rules JSON;
|
|
ALTER TABLE merchant_account ADD COLUMN routing_algorithm "RoutingAlgorithm";
|