bernardopires / django-tenant-schemas

Tenant support for Django using PostgreSQL schemas.
https://django-tenant-schemas.readthedocs.org/en/latest/
MIT License
1.46k stars 424 forks source link

cannot pass schema with `showmigrations` command #620

Closed khixer closed 4 years ago

khixer commented 4 years ago

I'm unable to view showmigrations status while passing schema flag.

input:

amitgaru2 commented 4 years ago

when you are using --schema flag you should use tenant_command. for that you can do likepython manage.py tenant_command showmigrations --schema=foo