diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-01-28 11:49:08 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-01-28 11:49:08 -0500 |
| commit | 79fee7f24d43873fc35295eab1d2a089d373e133 (patch) | |
| tree | a4df5e201e0ec6e374305c833c861ad8312cf47a /server/lib/schemas/Subscription.js | |
| parent | c5ab88deba82c4b4a149b3df594162351157483a (diff) | |
merge
Diffstat (limited to 'server/lib/schemas/Subscription.js')
| -rw-r--r-- | server/lib/schemas/Subscription.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/lib/schemas/Subscription.js b/server/lib/schemas/Subscription.js index 8315009..8ec557d 100644 --- a/server/lib/schemas/Subscription.js +++ b/server/lib/schemas/Subscription.js @@ -17,6 +17,12 @@ var SubscriptionSchema = new mongoose.Schema({ monthly: { type: Boolean }, }], + history: [{ + action: { type: String }, + plan_id: { type: String }, + created_at: { type: Date, default: Date.now }, + }], + created_at: { type: Date, default: Date.now }, updated_at: { type: Date, default: Date.now }, }) |
