mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
add role index
This commit is contained in:
committed by
Akhil Mohan
parent
e8f7b0c181
commit
91c1aca588
@@ -48,6 +48,8 @@ const roleSchema = new Schema<IRole>(
|
||||
}
|
||||
);
|
||||
|
||||
roleSchema.index({ organization: 1, workspace: 1 });
|
||||
|
||||
const Role = model<IRole>("Role", roleSchema);
|
||||
|
||||
export default Role;
|
||||
|
||||
Reference in New Issue
Block a user