This is an interesting problem.
So basically you need to migrate the entire schema upon the creation of a new user? Can the schema change for a new user, or will it always be the exact same?
From what I understand, you will need to ask the user for credentials for database connection, and then try to see if there is a way to migrate the models from your django code rather than the command line. I’m assuming you don’t want to migrate every single model for every single user, but I know there are ways to only migrate specific models though I forget exactly how.
Sent from my iPhone