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

Upgrading databases #143

Merged
merged 40 commits into from
Jan 5, 2024
Merged

Conversation

EdgesFTW
Copy link
Collaborator

@EdgesFTW EdgesFTW commented Oct 3, 2023

Fixes #99. This feature should provide a script that will upgrade previous databases to the current schema (version 3).

Overview of known changes between schema versions:

Version 1 Version 2 Version 3
initial version(?) added warnings.rank added warnings.unixtime, logging

Originally posted by @matthiasdiener in #99 (comment)

Additional Docs:
image

EdgesFTW and others added 6 commits October 2, 2023 02:30
Currently takes in a suffix (which could be the empty string if the file
should be replaced) and outputs the upgraded database with the suffix
appended to the filename (before the file extension)
bin/upgrade-db Outdated Show resolved Hide resolved
bin/upgrade-db Outdated Show resolved Hide resolved
bin/upgrade-db Outdated Show resolved Hide resolved
bin/upgrade-db Outdated Show resolved Hide resolved
bin/upgrade-db Outdated Show resolved Hide resolved
bin/upgrade-db Outdated Show resolved Hide resolved
bin/upgrade-db Outdated Show resolved Hide resolved
logpyle/runalyzer.py Outdated Show resolved Hide resolved
@EdgesFTW EdgesFTW marked this pull request as ready for review December 5, 2023 17:48
and now updates schema_version constant to 3
Copy link
Member

@matthiasdiener matthiasdiener left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@matthiasdiener matthiasdiener enabled auto-merge (squash) January 5, 2024 15:25
@matthiasdiener matthiasdiener merged commit 36935a1 into illinois-ceesd:main Jan 5, 2024
21 checks passed
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.

add a way to upgrade databases
2 participants