diff --git a/api/models/schema/userSchema.js b/api/models/schema/userSchema.js index 7d62623b53..bebc7fea1e 100644 --- a/api/models/schema/userSchema.js +++ b/api/models/schema/userSchema.js @@ -27,7 +27,6 @@ const { SystemRoles } = require('librechat-data-provider'); * @property {Array} [plugins=[]] - List of plugins used by the user * @property {Array.} [refreshToken] - List of sessions with refresh tokens * @property {Date} [expiresAt] - Optional expiration date of the file - * @property {Array.} [groups] - List of group IDs the user belongs to (references to the Group model) * @property {Date} [createdAt] - Date when the user was created (added by timestamps) * @property {Date} [updatedAt] - Date when the user was last updated (added by timestamps) */ @@ -144,11 +143,6 @@ const userSchema = mongoose.Schema( type: Boolean, default: false, }, - groups: { - type: [mongoose.Schema.Types.ObjectId], - ref: 'Group', - default: [], - }, }, { timestamps: true },