Ver Fonte

Add overleaf id to user schema

Alberto Fernández Capel há 8 anos atrás
pai
commit
c8977ab9d6
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      services/web/app/coffee/models/Subscription.coffee

+ 2 - 0
services/web/app/coffee/models/Subscription.coffee

@@ -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)->