never fallback to public on migrate_schemas (#22873)
This commit is contained in:
parent
3218eb5339
commit
f3a2cb269b
|
@ -55,7 +55,7 @@ class MigrateSchemasCommand(SyncCommon):
|
|||
def run_migrations(self, schema_name, included_apps):
|
||||
if int(self.options.get('verbosity', 1)) >= 1:
|
||||
self._notice("=== Running migrate for schema %s" % schema_name)
|
||||
connection.set_schema(schema_name)
|
||||
connection.set_schema(schema_name, include_public=False)
|
||||
command = MigrateCommand()
|
||||
command.execute(*self.args, **self.options)
|
||||
connection.set_schema_to_public()
|
||||
|
|
Loading…
Reference in New Issue