-
How to change the name of the SQLite db file? tried renaming the SQLite database name 'adv0024.db' in SettingServices.cs , Dotmim.Sync.SyncException: '[NeedsToUpgradeAsync]..[GetConnectionAsync]..SQLite Error 14: 'unable to open database file'.' Dotmim.Sync.SyncException i saw this link, do i need to redownload a later Dotmim. Sync.Sqlite? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
No idea, |
Beta Was this translation helpful? Give feedback.
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.)