added improved effective_amount index covering release_time
This commit is contained in:
parent
29a87c850c
commit
8f45618cd0
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ class SQLDB:
|
|||
|
||||
create index if not exists claim_signature_valid_idx on claim (signature_valid);
|
||||
|
||||
create unique index if not exists claim_effective_amount_idx on claim (effective_amount, claim_hash);
|
||||
create unique index if not exists claim_effective_amount_idx on claim (effective_amount, claim_hash, release_time);
|
||||
create unique index if not exists claim_release_time_idx on claim (release_time, claim_hash);
|
||||
create unique index if not exists claim_trending_global_mixed_idx on claim (trending_global, trending_mixed, claim_hash);
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue