forked from LBRYCommunity/lbry-sdk
database index fix
This commit is contained in:
parent
ad13282494
commit
f898bb3d0e
2 changed files with 2 additions and 2 deletions
|
@ -167,7 +167,7 @@ class SQLiteStorage:
|
|||
timestamp integer,
|
||||
primary key (sd_hash, reflector_address)
|
||||
);
|
||||
""" + WalletDatabase.CREATE_TABLES_QUERY
|
||||
"""
|
||||
|
||||
def __init__(self, db_dir, reactor=None):
|
||||
if not reactor:
|
||||
|
|
|
@ -22,7 +22,7 @@ class WalletDatabase(BaseDatabase):
|
|||
is_buy boolean not null default 0,
|
||||
is_sell boolean not null default 0
|
||||
);
|
||||
create index txo_claim_id_idx on txo (claim_id);
|
||||
create index if not exists txo_claim_id_idx on txo (claim_id);
|
||||
"""
|
||||
|
||||
CREATE_TABLES_QUERY = (
|
||||
|
|
Loading…
Add table
Reference in a new issue