Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migration of outdated scene databases #260

Merged
merged 6 commits into from
Sep 21, 2023
Merged

Conversation

johntruckenbrodt
Copy link
Owner

@johntruckenbrodt johntruckenbrodt commented Sep 21, 2023

#256 introduced breaking changes to the Archive database structure. With this, the content of outdated databases can now be imported into a newly created database:

from pyroSAR import Archive
db_new = 'scenes.db'
db_old = 'scenes_old.db'
with Archive(db_new) as db:
    with Archive(db_old, legacy=True) as db_old:
        db.import_outdated(db_old)

@johntruckenbrodt johntruckenbrodt merged commit dbe62ec into main Sep 21, 2023
@johntruckenbrodt johntruckenbrodt deleted the feature/archive_migrate branch September 21, 2023 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant