Bah, this error is annoying. It’s possible it’s just an error in the database index. You can try the steps described here Database disk image is malformed - #23 by kenkendk
Alternatively I’d recreate. I’m afraid I can’t explain why the sqlite malforms as it’s not expected behavior.