increase db version after migration
This commit is contained in:
parent
9ee0a1a2eb
commit
24adafa25b
@ -114,3 +114,6 @@ class SQLite3:
|
|||||||
for id in flattened.keys():
|
for id in flattened.keys():
|
||||||
for n in flattened[id]:
|
for n in flattened[id]:
|
||||||
con.execute("UPDATE comments SET parent=? WHERE id=?", (id, n))
|
con.execute("UPDATE comments SET parent=? WHERE id=?", (id, n))
|
||||||
|
|
||||||
|
con.execute('PRAGMA user_version = 3')
|
||||||
|
logger.info("%i rows changed", con.total_changes)
|
||||||
|
Loading…
Reference in New Issue
Block a user