def verify_db_schema(conn, required_role):
    'Function that runs all DB verification checks.'
    warn_if_db_superuser(conn)
    verify_db_roles_installed(conn)
    verify_db_role_for_job(conn, required_role)
    verify_db_schema_version(conn)
    verify_db_ownership(conn)
    verify_hll_schema(conn)
    verify_core_schema(conn)
    verify_db_search_path(conn)
Function that runs all DB verification checks.
def verify_db_schema(conn, required_role):
    
    warn_if_db_superuser(conn)
    verify_db_roles_installed(conn)
    verify_db_role_for_job(conn, required_role)
    verify_db_schema_version(conn)
    verify_db_ownership(conn)
    verify_hll_schema(conn)
    verify_core_schema(conn)
    verify_db_search_path(conn)