Looks like this question was asked last year in this similar post
It's not exactly helpful but @laurent does state that,
Ok I see, this is because the CLI and the desktop app don’t necessarily use the same database version. This is because I might first release the desktop app, then later the CLI one. So when you try to access the new db format, with the CLI app, which doesn’t know (yet) this format, it throws an error.