rename_column(table_name, column_name, new_column_name) public

Renames a column.

Example
 rename_column(:suppliers, :description, :name)
Show source
Register or log in to add new notes.