Update database diffs store
This commit is contained in:
parent
2124388cc5
commit
1d65156749
@ -29,10 +29,14 @@ class Database {
|
||||
options: { autoIncrement: true },
|
||||
indices: [],
|
||||
},
|
||||
AnkDiff: {
|
||||
AnkPendingDiffs: {
|
||||
name: 'diffs',
|
||||
options: { key: 'new_state_merkle_root' },
|
||||
indices: [],
|
||||
options: { keyPath: 'value_commitment' },
|
||||
indices: [
|
||||
{ name: 'byMerkleRoot', keyPath: 'new_state_merkle_root', options: { unique: false } },
|
||||
{ name: 'byNeedValidation', keyPath: 'need_validation', options: { unique: false } },
|
||||
{ name: 'byStatus', keyPath: 'validation_status', options: { unique: false } },
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user