code: def run_migration_list(self, path, migrations, pretend=False):
          
          if not migrations:
              self._note("<info>Nothing to migrate</info>")
  
              return
  
          batch = self._repository.get_next_batch_number()
  
          for f in migrations:
              self._run_up(path, f, batch, pretend)
docs: Run a list of migrations.
  
          :type migrations: list
  
          :type pretend: bool