diff --git a/services/web/app/coffee/models/User.coffee b/services/web/app/coffee/models/User.coffee index f7770fca22..55e222d16e 100644 --- a/services/web/app/coffee/models/User.coffee +++ b/services/web/app/coffee/models/User.coffee @@ -35,9 +35,7 @@ UserSchema = new Schema compileTimeout: { type:Number, default: Settings.defaultFeatures.compileTimeout } compileGroup: { type:String, default: Settings.defaultFeatures.compileGroup } } - featureSwitches : { - github: {type: Boolean} - } + featureSwitches : {} referal_id : {type:String, default:() -> uuid.v4().split("-")[0]} refered_users: [ type:ObjectId, ref:'User' ] refered_user_count: { type:Number, default: 0 }