Fix moving library not moving the full text search index

This commit is contained in:
Kovid Goyal 2022-07-15 19:33:21 +05:30
parent 2d0816daa0
commit 20ff8a1de6
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -2119,7 +2119,7 @@ class DB:
def get_top_level_move_items(self, all_paths): def get_top_level_move_items(self, all_paths):
items = set(os.listdir(self.library_path)) items = set(os.listdir(self.library_path))
paths = set(all_paths) paths = set(all_paths)
paths.update({'metadata.db', 'metadata_db_prefs_backup.json'}) paths.update({'metadata.db', 'full-text-search.db', 'metadata_db_prefs_backup.json'})
path_map = {x:x for x in paths} path_map = {x:x for x in paths}
if not self.is_case_sensitive: if not self.is_case_sensitive:
for x in items: for x in items: