Skip to content

Commit

Permalink
perf(Collections): add indices
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeaturner authored and ethanaturner committed Feb 11, 2024
1 parent 3a2f9c8 commit 9f4d95a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/models/collection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ const CollectionSchema = new Schema<CollectionInterface>(
// the organization's internal identifier string
type: String,
required: true,
index: true,
},
collID: {
// base62 8-digit identifier
type: String,
required: true,
index: true,
},
title: {
// the collection title/name
Expand Down

0 comments on commit 9f4d95a

Please sign in to comment.