code: def history(directory=None, rev_range=None, verbose=False, indicate_current=False):
      
      config = current_app.extensions['migrate'].migrate.get_config(directory)
      if alembic_version >= (0, 9, 9):
          command.history(config, rev_range, verbose=verbose, indicate_current=indicate_current)
      elif alembic_version >= (0, 7, 0):
          command.history(config, rev_range, verbose=verbose)
      else:
          command.history(config, rev_range)
docs: List changeset scripts in chronological order.