diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-01-28 19:18:27 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-01-28 20:21:49 -0500 |
| commit | 5adac681bdb43b8b709795fa501689fb9ae8a4e1 (patch) | |
| tree | 635ad1f56013840f60dba46e4ba8fd0261353f3b /server/lib/schemas/Subscription.js | |
| parent | e3ff5315f7ea7421431658077253c4d71f0f5731 (diff) | |
many methods
Diffstat (limited to 'server/lib/schemas/Subscription.js')
| -rw-r--r-- | server/lib/schemas/Subscription.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/server/lib/schemas/Subscription.js b/server/lib/schemas/Subscription.js index b766555..24c5096 100644 --- a/server/lib/schemas/Subscription.js +++ b/server/lib/schemas/Subscription.js @@ -13,10 +13,8 @@ var SubscriptionSchema = new mongoose.Schema({ plan_period: { type: String, default: "monthly" }, subscription_uuid: { type: String }, - subscription_add_ons: [{ - name: { type: String }, - quantity: { type: Number }, - }], + basic_layouts: { type: Number, default: 0 }, + pro_layouts: { type: Number, default: 0 }, history: [{ action: { type: String }, |
