~singpolyma/jmp-schemas

ref: 240b3444466fb458b517d84c83bd6a782a21934e jmp-schemas/deploy/call_rates.sql -rw-r--r-- 283 bytes
240b3444Stephen Paul Weber NOTIFY on low balance 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- Deploy jmp:call_rates to pg
-- requires: cdr

BEGIN;

CREATE TABLE call_rates (
	prefix    TEXT           NOT NULL,
	direction call_direction NOT NULL,
	plan_name TEXT           NOT NULL,
	rate      NUMERIC        NOT NULL,
	PRIMARY KEY (prefix, direction, plan_name)
);

COMMIT;