---
title: RenameIndexOperation
---

# RenameIndexOperation

<a href="https://github.com/remix-run/remix/blob/remix@3.0.0-alpha.6/packages/data-table/src/lib/adapter.ts#L492" target="_blank">View Source</a>

## Summary

Operation that renames an index.

## Signature

```ts
type RenameIndexOperation = {
  from: string;
  kind: "renameIndex";
  table: TableRef;
  to: string;
};

```