increase db version after migration

This commit is contained in:
Martin Zimmermann 2014-04-20 16:38:13 +02:00
parent 9ee0a1a2eb
commit 24adafa25b

View File

@ -114,3 +114,6 @@ class SQLite3:
for id in flattened.keys():
for n in flattened[id]:
con.execute("UPDATE comments SET parent=? WHERE id=?", (id, n))
con.execute('PRAGMA user_version = 3')
logger.info("%i rows changed", con.total_changes)