Update database diffs store
This commit is contained in:
parent
2124388cc5
commit
1d65156749
@ -29,10 +29,14 @@ class Database {
|
|||||||
options: { autoIncrement: true },
|
options: { autoIncrement: true },
|
||||||
indices: [],
|
indices: [],
|
||||||
},
|
},
|
||||||
AnkDiff: {
|
AnkPendingDiffs: {
|
||||||
name: 'diffs',
|
name: 'diffs',
|
||||||
options: { key: 'new_state_merkle_root' },
|
options: { keyPath: 'value_commitment' },
|
||||||
indices: [],
|
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