added stripe plan name column

pull/79/head
Chris Veilleux 2019-03-08 17:02:17 -06:00 committed by Matheus Lima
parent fa9dbb7459
commit 07c7cc70db
1 changed files with 2 additions and 1 deletions

View File

@ -1,10 +1,11 @@
CREATE TABLE account.membership (
id uuid PRIMARY KEY
DEFAULT gen_random_uuid(),
type membership_type_enum NOT NULL
type membership_type_enum NOT NULL
UNIQUE,
rate NUMERIC NOT NULL,
rate_period text NOT NULL,
stripe_plan text NOT NULL,
insert_ts TIMESTAMP NOT NULL
DEFAULT CURRENT_TIMESTAMP
);