Anki/rslib/src/storage/upgrades
RumovZ 16fe18d033
Refactor export-import code and resolve fixmes (#1723)
* Write media files in chunks

* Test media file writing

* Add iter `ReadDirFiles`

* Remove ImportMediaError, fail fatally instead

Partially reverts commit f8ed4d89ba.

* Compare hashes of media files to be restored

* Improve `MediaCopier::copy()`

* Restore media files atomically with tempfile

* Make downgrade flag an enum

* Remove SchemaVersion::Latest in favour of Option

* Remove sha1 comparison again

* Remove unnecessary repr(u8) (dae)
2022-03-18 19:31:55 +10:00
..
mod.rs Refactor export-import code and resolve fixmes (#1723) 2022-03-18 19:31:55 +10:00
schema11_downgrade.sql fix case of fields table 2021-09-07 10:22:22 +10:00
schema14_upgrade.sql reformat .sql files 2021-01-09 14:08:55 +10:00
schema15_upgrade.sql fix case of fields table 2021-09-07 10:22:22 +10:00
schema17_upgrade.sql Keep tags in human form and update the tags table structure 2021-01-12 23:12:35 +03:00
schema18_downgrade.sql add indexes to graves table to speed up undo 2021-03-12 18:59:24 +10:00
schema18_upgrade.sql add indexes to graves table to speed up undo 2021-03-12 18:59:24 +10:00