add reposted_claim_hash index

fixes https://github.com/lbryio/lbry-sdk/issues/2782
This commit is contained in:
Jack Robison 2020-02-12 17:39:57 -05:00
parent c9305fd070
commit 78eef25f1a
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -94,6 +94,7 @@ class SQLDB:
create index if not exists claim_txo_hash_idx on claim (txo_hash);
create index if not exists claim_activation_height_idx on claim (activation_height, claim_hash);
create index if not exists claim_expiration_height_idx on claim (expiration_height);
create index if not exists claim_reposted_claim_hash_idx on claim (reposted_claim_hash);
"""
CREATE_SUPPORT_TABLE = """