Docker deployment Realised

This commit is contained in:
Josako
2024-06-26 12:02:14 +02:00
parent 348bdf2c15
commit 7a1b51dd0c
2494 changed files with 7329 additions and 172135 deletions

View File

@@ -52,7 +52,11 @@ target_db = current_app.extensions['migrate'].db
# ... etc.
# List of Tenants
tenants = [tenant.id for tenant in Tenant.query.all()]
tenants_ = Tenant.query.all()
if tenants_:
tenants = [tenant.id for tenant in tenants_]
else:
tenants = []
def get_metadata():