django-tenant-schemas icon indicating copy to clipboard operation
django-tenant-schemas copied to clipboard

How to create a data migration?

Open progremir opened this issue 6 years ago • 0 comments

I was looking for an ability to create objects in the database using migrations. Additionally, I expect to make those migrations either shared or tenant-specific.

Currently, I do not have a multi-tenant architecture and handle this kind of cases using

makemigrations someapp --empty

and create some objects like permissions, roles and etc.

Is there a feature that supports this kind of behavior?

progremir avatar May 07 '19 10:05 progremir