🔁 refactor: Add index to model field in Transaction Schema (#6890)

This commit is contained in:
Pedro Reis 2025-11-27 17:42:25 +00:00 committed by Danny Avila
parent 1e39808408
commit 67952372d0
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956

View file

@ -38,6 +38,7 @@ const transactionSchema: Schema<ITransaction> = new Schema(
}, },
model: { model: {
type: String, type: String,
index: true
}, },
context: { context: {
type: String, type: String,