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

Commit 58f0c9f

Browse files
committed
Add columns to initial db schema
1 parent ce6b076 commit 58f0c9f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

db/datastore.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,9 @@ def _create_database(database_path):
169169

170170
cursor.execute('''CREATE TABLE settings(id INTEGER PRIMARY KEY, refundAddress TEXT, currencyCode TEXT,
171171
country TEXT, language TEXT, timeZone TEXT, notifications INTEGER, shippingAddresses BLOB, blocked BLOB,
172-
termsConditions TEXT, refundPolicy TEXT, moderatorList BLOB, username TEXT, password TEXT)''')
172+
termsConditions TEXT, refundPolicy TEXT, moderatorList BLOB, username TEXT, password TEXT,
173+
smtpNotifications INTEGER, smtpServer TEXT, smtpSender TEXT, smtpRecipient TEXT, smtpUsername TEXT,
174+
smtpPassword TEXT)''')
173175

174176
conn.commit()
175177
conn.close()

0 commit comments

Comments
 (0)