Ecto.Migration.rename

You're seeing just the function rename, go back to Ecto.Migration module for more information.
Link to this function

rename(table_current, list)

View Source

Renames a table.

Examples

rename table("posts"), to: table("new_posts")
Link to this function

rename(table, current_column, list)

View Source

Renames a column outside of the alter statement.

Examples

rename table("posts"), :title, to: :summary