mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 09:16:38 -04:00
make sure to copy media table on saveas
This commit is contained in:
parent
57a49e9b08
commit
afa9565d12
1 changed files with 1 additions and 0 deletions
|
@ -1509,6 +1509,7 @@ Return new path, relative to media dir."""
|
|||
s("insert into new.cardsDeleted select * from cardsDeleted")
|
||||
s("insert into new.models select * from models")
|
||||
s("insert into new.stats select * from stats")
|
||||
s("insert into new.media select * from media")
|
||||
s("detach database new")
|
||||
# close ourselves
|
||||
self.s.commit()
|
||||
|
|
Loading…
Reference in a new issue