This repository has been archived by the owner on Jul 7, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 53
Problem in Deleting Database on iOS when having two or more databases #138
Comments
If you can send me a demo app that demonstrates this; I'll see what is up. |
Found the problem... Here we go.. One of my database is called EVENTS and the other is called config.db When I delete de EVENTS database, the config.db database is also removed. Renaming it to events.db fixed the issue. Here follows the code (Vue.js code)
|
I haven't tested this code -- but one thing that stands out is that you never closed the database. So it is very possible that this is confusing the sqlite driver, especially if you are creating another one the same name after words. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have an app that has two databases. Sometimes I need to delete one of them. When I delete one of them on Android, the application keeps running fine and the other database keeps running fine as well. When I delete one of them on iOS the other database stops working and looks corrupted.
The text was updated successfully, but these errors were encountered: