mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
rename downgrade method for clarity
This commit is contained in:
parent
fee9b199d5
commit
cc3fdb2f37
2 changed files with 2 additions and 2 deletions
|
@ -190,7 +190,7 @@ impl SqliteStorage {
|
|||
|
||||
// schema 15->11
|
||||
|
||||
pub(super) fn downgrade_deck_conf_from_schema15(&self) -> Result<()> {
|
||||
pub(super) fn downgrade_deck_conf_from_schema16(&self) -> Result<()> {
|
||||
let allconf = self.all_deck_config()?;
|
||||
let confmap: HashMap<DeckConfID, DeckConfSchema11> = allconf
|
||||
.into_iter()
|
||||
|
|
|
@ -38,7 +38,7 @@ impl SqliteStorage {
|
|||
pub(super) fn downgrade_to_schema_11(&self) -> Result<()> {
|
||||
self.begin_trx()?;
|
||||
|
||||
self.downgrade_deck_conf_from_schema15()?;
|
||||
self.downgrade_deck_conf_from_schema16()?;
|
||||
self.downgrade_decks_from_schema15()?;
|
||||
self.downgrade_notetypes_from_schema15()?;
|
||||
self.downgrade_config_from_schema14()?;
|
||||
|
|
Loading…
Reference in a new issue