lifecycle: close database connection after migrating (#9516)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L
2024-04-30 21:04:30 +02:00
committed by GitHub
parent fdc7dedc58
commit 039570a140

View File

@ -117,6 +117,8 @@ def run_migrations():
)
finally:
release_lock(curr)
curr.close()
conn.close()
if __name__ == "__main__":