Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update populated database #79

Open
gatelli opened this issue Mar 30, 2018 · 1 comment
Open

update populated database #79

gatelli opened this issue Mar 30, 2018 · 1 comment

Comments

@gatelli
Copy link

gatelli commented Mar 30, 2018

Hi,
I made an app downloading a database from an URL with cordova file transfer, then I use cordova-sqlite-ext to read the DB from iosDatabaseLocation: 'Documents' and display some informations.

It's working well.

But I need to update some DB from my server, so the user can "update" the DB by downloading a new one (with the same name).
But unfortunatly I can't read the new DB (I have an error code 0 while opening it).

Is there an issue with the same name DB ? They are not replaced by the new one ? Do I have to modify the DB name for each update ?

Thanks for your answer.

@dannoe
Copy link

dannoe commented Apr 6, 2018

I think this is the same situation: #68 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants