I do not know exactly why, but now it works. I have completed the following steps:
- Open the application (in my application the database is created in the main mode)
- Follow the instructions in the question using the open application
- Close the application and delete it from memory.
- Open app
Both versions of the databases are the same and I have no code in the onUpgrade method.
source share