mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
add index to workspace to improve query
This commit is contained in:
@@ -18,7 +18,8 @@ const machineMembershipSchema = new Schema<IMachineMembership>(
|
||||
workspace: {
|
||||
type: Schema.Types.ObjectId,
|
||||
ref: "Workspace",
|
||||
required: true
|
||||
required: true,
|
||||
index: true,
|
||||
},
|
||||
role: {
|
||||
type: String,
|
||||
|
||||
Reference in New Issue
Block a user