Commit 7b497b8e authored by Julien Muchembled's avatar Julien Muchembled

sqlite: remove useless AUTOINCREMENT for data.id (reuse of deleted ids is fine)

For existing DB, altering the table may be doable with schema editing and
clean up of sqlite_sequence.
parent d289050e
......@@ -184,7 +184,7 @@ class SQLiteDatabaseManager(DatabaseManager):
# The table "data" stores object data.
schema_dict['data'] = """CREATE TABLE %s (
id INTEGER PRIMARY KEY AUTOINCREMENT,
id INTEGER PRIMARY KEY,
hash BLOB NOT NULL,
compression INTEGER NOT NULL,
value BLOB NOT NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment