> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omni.co/llms.txt
> Use this file to discover all available pages before exploring further.

# aliases - Views

> Maps old table names to updated table names to preserve content.

Maps old table names to updated table names to preserve content. This allows you to ensure Omni content that uses the table doesn't break when the table is renamed.

## Syntax

```yaml theme={null}
aliases: [ OLD_TABLE_NAME ]
```

## Properties

**aliases** `array`

An array of old table names that should map to this view.

## Examples

In this example, the `OLD_ORDER_ITEMS_NAME` table was renamed to `ORDER_ITEMS` in the database. Adding the original table name to the `aliases` parameter in the `ORDER_ITEMS.view` file in Omni prevents broken content and model validation errors.

```yaml title="ORDER_ITEMS.view file" theme={null}
schema: PUBLIC
table_name: ORDER_ITEMS
primary_key_sql: [ "${order_items.id}" ]
aliases: [OLD_ORDER_ITEMS_NAME]
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.