enable WAL
This commit is contained in:
parent
4b9c3e8409
commit
87c210952b
1 changed files with 5 additions and 0 deletions
|
@ -221,7 +221,12 @@ class BaseDatabase(SQLiteMixin):
|
||||||
create index if not exists txi_txoid_idx on txi (txoid);
|
create index if not exists txi_txoid_idx on txi (txoid);
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
PRAGMAS = """
|
||||||
|
pragma journal_mode=WAL;
|
||||||
|
"""
|
||||||
|
|
||||||
CREATE_TABLES_QUERY = (
|
CREATE_TABLES_QUERY = (
|
||||||
|
PRAGMAS +
|
||||||
CREATE_TX_TABLE +
|
CREATE_TX_TABLE +
|
||||||
CREATE_PUBKEY_ADDRESS_TABLE +
|
CREATE_PUBKEY_ADDRESS_TABLE +
|
||||||
CREATE_PUBKEY_ADDRESS_INDEX +
|
CREATE_PUBKEY_ADDRESS_INDEX +
|
||||||
|
|
Loading…
Reference in a new issue