django-db-multitenant
django-db-multitenant copied to clipboard
[Feature Request] SQLite 3 support
Challenges
SQLite 3 does not support multi schemas/databases. Implementing a SQLite 3 database backend would require a novel approach.
Unfortunately, solely executing "USE" through the database cursor would not work for SQLite 3.
Proposed solution
At first thought, I planned to prepend the tenant's name to DATABASES["default"]["NAME"]
.