Add overleaf id to user schema

This commit is contained in:
Alberto Fernández Capel 2018-05-23 15:23:46 +01:00
parent 5b3fbe47db
commit c8977ab9d6

View file

@ -18,6 +18,8 @@ SubscriptionSchema = new Schema
downgraded: Boolean downgraded: Boolean
planCode: String planCode: String
allowed: {type: Boolean, default: true} allowed: {type: Boolean, default: true}
overleaf:
id: { type: Number }
SubscriptionSchema.statics.findAndModify = (query, update, callback)-> SubscriptionSchema.statics.findAndModify = (query, update, callback)->