root: fix system check warnings (#8277)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L
2024-01-24 12:10:55 +01:00
committed by GitHub
parent 4f4815251e
commit 9ed2b74661
3 changed files with 14 additions and 6 deletions

View File

@ -111,5 +111,8 @@ if __name__ == "__main__":
) from exc
execute_from_command_line(["", "migrate_schemas"])
execute_from_command_line(["", "migrate_schemas", "--schema", "template", "--tenant"])
execute_from_command_line(
["", "check"] + ([] if CONFIG.get_bool("debug") else ["--deploy"])
)
finally:
release_lock(curr)