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

fix(migration): Do not emit log output for checker_id normalisation #4198

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ def normalise_report_analyzer_and_checker_names():
# These values are normalised such that in the following, when the
# foreign key-based look-up is added to the schema, their new
# 'checker_id' will all point to the single "UNKNOWN/NOT FOUND" case.
LOG.info("Normalising unknowns in 'reports'.'analyzer_name' and "
"'reports'.'checker_id'...")

analyzer_name_affected = conn.execute(f"""
UPDATE reports
SET analyzer_name = '{UnknownChecker[0]}'
Expand Down Expand Up @@ -93,8 +90,6 @@ def normalise_report_analyzer_and_checker_names():
conn.execute("COMMIT;")
conn.execute("START TRANSACTION;")

LOG.info("Done normalising 'reports'.")

def create_new_tables():
op.create_table(
"checkers",
Expand Down
Loading