I just wanted to know how to drop a schema. I've deleted the record in the tenant model via Django ORM but it seems that schema still exists in the DB (confirmed via psql).
I've multiple schemas and I'm getting this error `psycopg2.errors.DuplicateTable: relation "django_migrations" already exists. I've tried running the fake migration as mentioned in many StackOverflow links. Also, I've deleted the tenant record but still, it throws an error while running migrate_schemas for that schema.
Hi,
I just wanted to know how to drop a schema. I've deleted the record in the tenant model via Django ORM but it seems that schema still exists in the DB (confirmed via psql).
I've multiple schemas and I'm getting this error `psycopg2.errors.DuplicateTable: relation "django_migrations" already exists. I've tried running the fake migration as mentioned in many StackOverflow links. Also, I've deleted the tenant record but still, it throws an error while running migrate_schemas for that schema.
Getting error after this:
I've deleted the
somethingabouttesting
schema and tried again, but still, it's showing the same error.Any help would be appreciated.