I created a backup of my current contacts DB.
printf "vacuum into '/backup/c.db';" | sqlite3 .local/share/system/privileged/Contacts/qtcontacts-sqlite/contacts.db
copied the file somewhere else and try to open it with another tool. It doesn’t matter which one (it’s crap), but it complains about this from the Schema:
CREATE TABLE Details (
--[...]
contactId INTEGER REFERENCES "OldContacts" (contactId),
-- [...]
);
Table OldContacts
indeed does not exist.
Is that normal, and what would be the schema of OldContacts
?