~singpolyma/jmp-schemas

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

BEGIN;

CREATE TABLE plan_log (
	customer_id TEXT      NOT NULL,
	plan_name   TEXT      NOT NULL,
	starts_at   TIMESTAMP NOT NULL,
	expires_at  TIMESTAMP NOT NULL,
	PRIMARY KEY (customer_id, starts_at)
);

COMMIT;