code: def list(database=None, directory=None, verbose=None):
      
      router = get_router(directory, database, verbose)
      click.echo('Migrations are done:')
      click.echo('\n'.join(router.done))
      click.echo('')
      click.echo('Migrations are undone:')
      click.echo('\n'.join(router.diff))
docs: List migrations.