Helium314 / Local-NLP-Backend

Yet another network location backend for the UnifiedNLP/microG project
GNU General Public License v3.0
65 stars 4 forks source link

can't import from previous release #1

Closed tieu1991 closed 2 years ago

tieu1991 commented 2 years ago

if you install over the pre-alpha release it crashes. So I tried to do a clean install and use the importer to import the rf.db from the previous release. This give this error :

Error importing database : Can't downgrade database from version 5 to 4

Helium314 commented 2 years ago

I did have some different db format for a while, which turned out to be a bad idea, but I though I had reverted this prior to the pre-alpha. I'll have a look

Helium314 commented 2 years ago

Ok, I (obviously, hence the issue) did not revert the change before the pre-alpha. Honestly I didn't really expect anyone to use this, so thanks for trying and sorry for the inconvenience.

Anyway, the easiest solution should be changing the DB version from 5 to 4, e.g. using DB browser for SQLite: Just go to pragmas, change User Version to 4 and click save.

tieu1991 commented 2 years ago

Thank you very much. It worked.