diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-08-12 12:37:49 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-08-12 13:04:02 -0400 |
| commit | dd4f0178c7bcb5d14e1308e3877c5ab02eddf000 (patch) | |
| tree | 788300b2d4f2779a96dd1a5ad80e3dfa3b6d73a1 /server/lib/schemas/Subscription.js | |
| parent | d9050d0faacb0434a94e4bce2acc8f99e189db4f (diff) | |
modify webhook to support custom plans
Diffstat (limited to 'server/lib/schemas/Subscription.js')
| -rw-r--r-- | server/lib/schemas/Subscription.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/lib/schemas/Subscription.js b/server/lib/schemas/Subscription.js index 355bbe2..bf43e8b 100644 --- a/server/lib/schemas/Subscription.js +++ b/server/lib/schemas/Subscription.js @@ -9,6 +9,7 @@ var mongoose = require('mongoose'), var SubscriptionSchema = new mongoose.Schema({ user_id: { type: mongoose.Schema.ObjectId, index: true }, + plan_code: { type: String, default: "" }, plan_type: { type: String, default: "free" }, plan_period: { type: String, default: "monthly" }, |
