docs: def makemigrations(application, merge=False, dry_run=False, empty=False, extra_applications=None):
      """
      Generate migrations
      """
      from django.core.management import call_command
  
      apps = [application]
      if extra_applications:
          if isinstance(extra_applications, text_type):
              apps += [extra_applications]
          elif isinstance(extra_applications, list):
              apps += extra_applications
  
      for app in apps:
          call_command('makemigrations', *(app,), merge=merge, dry_run=dry_run, empty=empty)