diff --git a/isso/db/__init__.py b/isso/db/__init__.py index cac31ee..e1f0485 100644 --- a/isso/db/__init__.py +++ b/isso/db/__init__.py @@ -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)