From 6945dafe0b9c524a5467b78521e35909c579f16b Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Thu, 11 Jan 2024 15:09:18 +0100 Subject: [PATCH] Revert "Revert "do not copy tenant data"" This reverts commit 4bffb197047159308a129edfca29944359681428. --- authentik/tenants/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/authentik/tenants/models.py b/authentik/tenants/models.py index 603cd22f3..2fe1181dc 100644 --- a/authentik/tenants/models.py +++ b/authentik/tenants/models.py @@ -42,6 +42,7 @@ class Tenant(TenantMixin, SerializerModel): name = models.TextField() auto_create_schema = True + clone_mode = "NODATA" auto_drop_schema = True ready = models.BooleanField(default=False)