misc: fix migrate_schemas command --skip-checks conflict issue (#64299)

Adapted from django-tenant-schemas:

  commit 44a95bee4e32cdceff52adb9030e6725578a8ee6
  Author: DanH91 <danielkobina@gmail.com>
  Date:   Sun Aug 9 19:52:39 2020 -0400

      fix migrate_schemas command --skip-checks conflict issue
This commit is contained in:
Frédéric Péters 2022-04-18 16:51:49 +02:00
parent e31c32d4d2
commit c1ea53446d
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ from hobo.multitenant.middleware import TenantMiddleware, TenantNotFound
class MigrateSchemasCommand(SyncCommon):
help = "Updates database schema. Manages both apps with migrations and those without."
requires_system_checks = []
def add_arguments(self, parser):
super(MigrateSchemasCommand, self).add_arguments(parser)