Skip to content

Commit

Permalink
Expand Rename column docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-farries committed Dec 6, 2024
1 parent faad73d commit 6d2d5e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/operations/alter_column/rename_column.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ description: A rename column operation renames a column.
}
```

In the new schema version, the column will have its new name. In the old schema version the column still has its old name.

## Examples

Rename the `role` column in the `employees` table:

<ExampleSnippet example="13_rename_column.json" language="json" />

0 comments on commit 6d2d5e3

Please sign in to comment.