jakobhec

Results 25 comments of jakobhec

I encountered the same issue: `SqliteException(11): database disk image is malformed` when installing a new app version requiring an updated database. I manually deleted the existing SQLite database, then copied...

@simolus3 If the above behavior is expected, it might make sense to add it to the documentation.

- https://drift.simonbinder.eu/docs/platforms/vm/#using-moor-ffi-with-an-existing-database - https://drift.simonbinder.eu/docs/examples/existing_databases/#extracting-the-database - and potentially under "Migrations" https://drift.simonbinder.eu/docs/migrations/ Or with a dedicated page as you've said and then you could link to it "See more about migrations/backups/existing-dbs" in...

I create the .sqlite database files on a server (using sqlalchemy / pandas / python). Approximately every 2 months I want to completely replace the drift database on the mobile...

@leisim thanks for your great work! Is there any update on this?

No. `PRAGMA journal_mode` returns `delete`.

Before yesterday, it happened occasionally (maybe 1 in 20 restarts) on Android and not on iOS. Then since yesterday, after some point it happened at every restart. Before that I...

Thanks for investigating! It appears that the issue occurs only in debug mode. For all entries I did the following: - commented out `journal_mode=WAL` - used `sqlite3.tempDirectory = cachebase` -...

I am on the stable flutter channel and I always keep it updated. So I would assume since at least 3 months (maybe starting [around 3.13](https://github.com/flutter/flutter/wiki/Hotfixes-to-the-Stable-Channel#3131-august-23-2023) – very very roughly)...