dont delete old databases yet
This commit is contained in:
parent
1a330fcb41
commit
6ea5492ee5
1 changed files with 4 additions and 3 deletions
|
@ -251,6 +251,7 @@ def do_migration(db_dir):
|
|||
blobs_db.close()
|
||||
lbryfile_db.close()
|
||||
metadata_db.close()
|
||||
os.remove(os.path.join(db_dir, "blockchainname.db"))
|
||||
os.remove(os.path.join(db_dir, 'lbryfile_info.db'))
|
||||
os.remove(os.path.join(db_dir, 'blobs.db'))
|
||||
log.info("successfully migrated the database")
|
||||
# os.remove(os.path.join(db_dir, "blockchainname.db"))
|
||||
# os.remove(os.path.join(db_dir, 'lbryfile_info.db'))
|
||||
# os.remove(os.path.join(db_dir, 'blobs.db'))
|
||||
|
|
Loading…
Reference in a new issue