Skip to content

Commit

Permalink
Merge pull request #4398 from jstevens176/package_schema
Browse files Browse the repository at this point in the history
[feat][server] Logging: show package schema revision on startup
  • Loading branch information
bruntib authored Jan 9, 2025
2 parents eee3b07 + dbac069 commit 27653a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/server/codechecker_server/database/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ def check_schema(self):

LOG.debug("Checking schema versions in the package.")
schema_config_head = scriptt.get_current_head()
LOG.debug("Schema revision in the package: %s",
str(schema_config_head))

if database_schema_revision != schema_config_head:
LOG.debug("Database schema mismatch detected "
Expand Down

0 comments on commit 27653a8

Please sign in to comment.