This fixes the issue in the sqlite migrations for
The temporary workaround was to change the
id column from
id INTEGER PRIMARY KEY AUTOINCREMENT to
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT.
This change renames the table, creates a new table with the correct attributes, copies the old table over in the new one and deletes the old one.