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

Commit 3f98291

Browse files
committed
Up the version
1 parent 74b374a commit 3f98291

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

db/datastore.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def _create_database(database_path):
116116
conn = lite.connect(database_path)
117117
cursor = conn.cursor()
118118

119-
cursor.execute('''PRAGMA user_version = 3''')
119+
cursor.execute('''PRAGMA user_version = 4''')
120120
cursor.execute('''CREATE TABLE hashmap(hash TEXT PRIMARY KEY, filepath TEXT)''')
121121

122122
cursor.execute('''CREATE TABLE profile(id INTEGER PRIMARY KEY, serializedUserInfo BLOB, tempHandle TEXT)''')
@@ -180,7 +180,7 @@ def _run_migrations(self):
180180
cursor.execute('''PRAGMA user_version''')
181181
version = cursor.fetchone()[0]
182182
conn.close()
183-
183+
184184
if version == 0:
185185
migration1.migrate(self.PATH)
186186
migration2.migrate(self.PATH)

0 commit comments

Comments
 (0)