Skip to content
This repository has been archived by the owner on May 16, 2019. It is now read-only.

Commit

Permalink
Add table for unconfirmed txs to db
Browse files Browse the repository at this point in the history
  • Loading branch information
cpacia committed Feb 27, 2016
1 parent 5686c46 commit cddcaba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions db/datastore.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ def _create_database(database_path):
cursor.execute('''CREATE INDEX index_listing ON ratings(listing);''')
cursor.execute('''CREATE INDEX index_rating_id ON ratings(ratingID);''')

cursor.execute('''CREATE TABLE transactions(tx BLOB);''')

cursor.execute('''CREATE TABLE settings(id INTEGER PRIMARY KEY, refundAddress TEXT, currencyCode TEXT,
country TEXT, language TEXT, timeZone TEXT, notifications INTEGER, shippingAddresses BLOB, blocked BLOB,
termsConditions TEXT, refundPolicy TEXT, moderatorList BLOB, username TEXT, password TEXT)''')
Expand Down

0 comments on commit cddcaba

Please sign in to comment.