mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-01 02:57:02 +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";
 | 
