diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-01-23 17:58:41 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-01-23 17:58:41 -0500 |
| commit | 5efb0ed941ed80136e63014c4f615574b2b613d7 (patch) | |
| tree | 721ad13db392d47c5e8fd24a1b4be2de8019a560 /server/lib/schemas/Subscription.js | |
| parent | 74fb7a313b4d9ad3517e97133febff9cada96fe0 (diff) | |
edit subscription partial stub
Diffstat (limited to 'server/lib/schemas/Subscription.js')
| -rw-r--r-- | server/lib/schemas/Subscription.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/lib/schemas/Subscription.js b/server/lib/schemas/Subscription.js index 99e4ebf..2f49ea1 100644 --- a/server/lib/schemas/Subscription.js +++ b/server/lib/schemas/Subscription.js @@ -9,9 +9,8 @@ var mongoose = require('mongoose'), var SubscriptionSchema = new mongoose.Schema({ user_id: { type: mongoose.Schema.ObjectId, index: true }, - plan_level: { type: Number, default: 0 }, plan_type: { type: String, default: "free" }, - last_charged: { type: Date, default: null }, + plan_period: { type: String, default: "monthly" }, subscription_uuid: { type: String }, subscription_add_ons: [{ |
