ForestDB usage and migrations with Couchbase-Lite-PhoneGap-Plugin


Are there plans to add a config for ForestDB to Couchbase-Lite-PhoneGap-Plugin?

Does Couchbase Lite support migrations from SQLite to ForestDB or is it going to support migrations/conversions in the future? mentions that if you have a previous project using an earlier version of Couchbase Lite then the existing database files are not converted.

But comments in also say that SQLite-to-ForestDB upgrades are supported.

Yes, you can migrate from SQLite to ForestDB using an explicit API call (Manager.openDatabase, setting the storage type to ForestDB in the DatabaseOptions parameter.)

I can’t comment on the PhoneGap plugin since I don’t work on that; but I agree that we should add support for ForestDB to it. Have you filed an issue on Github?

I haven’t created a Github issue yet, I will do that.

I am not yet using Couchbase Lite in production, but am going to use it with Cordova. I would rather not start modifying the Couchbase-Lite-PhoneGap-Plugin now, but since migrations are supported, it seems I don’t have to worry about switching over to ForestDB later on.

(apparently I can only post 2 links per thread since I am a new user, so here is a broken link)