Skip to content

Error when renaming SQLite database on client #1100

Closed Answered by sojan1
sojan1 asked this question in Q&A
Discussion options

You must be logged in to vote

Not related to DMS.

So far I have been pushing the full database using adb every time after the app created the db the first time. It seems the SQLite database in MAUI should always be created by the app at the first attempt.

The client database will only get created if the same db name does not exist in the container folder. Renaming SQLite db to a new name and pushing that DB file into the container folder will stop the app from creating the database.

(not 100% sure but I tested it a few times by running the app first without the database and pushing the database only before relaunch.)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sojan1
Comment options

Answer selected by sojan1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants