rename_column :table, :old_column, :new_column You'll probably want to create a separate migration to do this. (Rename FixColumnName as you will.): bin/rails generate migration FixColumnName # creates db/migrate/xxxxxxxxxx_fix_column_name.rb Then edit the migration to do your will: # db/migrate/xxxxxxxxxx_fix_column_name.rb class FixColumnName < ActiveRecord::Migration def self.up rename_column :t
{{#tags}}- {{label}}
{{/tags}}