Skip to content

Commit

Permalink
Merge pull request #4198 from whisperity/feat/show-zero-checkers/fix-…
Browse files Browse the repository at this point in the history
…migration

fix(migration): Do not emit log output for `checker_id` normalisation
  • Loading branch information
vodorok authored Mar 26, 2024
2 parents 887c1ec + 386f9ae commit a1a38cd
Showing 1 changed file with 0 additions and 5 deletions.
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

0 comments on commit a1a38cd

Please sign in to comment.