Hi Folks,
Problems I am facing while running this command:
"python manage.py tenant_command loaddata tenant.json"I am getting a error like this:
django.db.utils.IntegrityError: Problem installing fixture '/home/jagmeet/consultadd_workspace/devenv/ckiller/tenant.json': Could not load account.EmailAddress(pk=1): duplicate key value violates unique constraint "account_emailaddress_email_key"
DETAIL: Key (email)=(a...@abc.com) already exists.I had lots of data in my tenant as well as public schema but I truncated all my tables in database and executed the
loaddata command and the data(from
tenant.
json) is failed to load into that the schema of database.
Please reply asap.
Thanks.