added fix for active indexed tokens + improved data structure for wallet description
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package repository
|
||||
|
||||
import "github.com/tech/sendico/pkg/db/repository/builder"
|
||||
|
||||
type Sort int8
|
||||
|
||||
const (
|
||||
@@ -14,8 +16,9 @@ type Key struct {
|
||||
}
|
||||
|
||||
type Definition struct {
|
||||
Keys []Key // mandatory, at least one element
|
||||
Unique bool // unique constraint?
|
||||
TTL *int32 // seconds; nil means “no TTL”
|
||||
Name string // optional explicit name
|
||||
Keys []Key // mandatory, at least one element
|
||||
Unique bool // unique constraint?
|
||||
TTL *int32 // seconds; nil means “no TTL”
|
||||
Name string // optional explicit name
|
||||
PartialFilter builder.Query // optional: partialFilterExpression for conditional indexes
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user