10 lines
320 B
Python
10 lines
320 B
Python
from tenant_schemas.migration_executors.base import MigrationExecutor, run_migrations
|
|
|
|
|
|
class StandardExecutor(MigrationExecutor):
|
|
codename = 'standard'
|
|
|
|
def run_tenant_migrations(self, tenants):
|
|
for schema_name in tenants:
|
|
run_migrations(self.args, self.options, self.codename, schema_name)
|