change index of general scription,

This commit is contained in:
CounterFire2023 2024-04-07 15:19:13 +08:00
parent 33363991af
commit 6d60ff88d7

View File

@ -6,6 +6,7 @@ import logger from 'logger/logger'
@dbconn()
@index({ from: 1, op: 1 }, { unique: false })
@index({ from: 1, op: 1, data: 1 }, { unique: true })
@index({ hash: 1 }, { unique: true })
@index({ from: 1, blockTime: 1 }, { unique: false })
@modelOptions({